anchor.diff:  		Name ->
   			{false, ReqData, Ctx};
   		OtherName ->
  -			MapsList = case rpgb_data:get_battlemaps_by_owner_id(BattleMap#battlemap.owner_id) of
  +			MapsList = case rpgb_data:get_battlemaps_by_owner(BattleMap#battlemap.owner_id) of
   				{ok, ML} -> ML;
   				Else -> []
   			end,
  
positive.code: 				[] ->
  					{false, ReqData, Ctx};
  				_ ->
  					?info("A map named ~p already exists for the user ~p", [Name, BattleMap:owner_id()]),
  					Urls = [rpgb:get_url(["battles", BattleMap#battlemap.id, "slug"]) ||
  						Map <- MapsFound],
  					Urls0 = mochijson2:encode(Urls),
  
negative.code: 	Name = proplists:get_value(<<"name">>, Props),
  	User = rpgb_session:get_user(Session),
  	Userid = proplists:get_value(id, User),
  	Maps = case rpgb_data:get_battlemap_by_owner(Userid) of
  		{ok, ML} -> ML;
  		_ -> []
  	end,
  