Skip to content

Commit 36b313e

Browse files
Merge pull request #30 from LootLocker/fix/player-names-lookup-fix
Fix wrong variable used for CallAPI in LookupPlayerNames method
2 parents d58697a + f8c852e commit 36b313e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Runtime/Game/Requests/PlayerRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public static void LookupPlayerNames(LookupPlayerNamesRequest lookupPlayerNamesR
313313
getVariable += $"xbox_id={xboxID}&";
314314
}
315315

316-
LootLockerServerRequest.CallAPI(endPoint.endPoint, endPoint.httpMethod, null, onComplete: (serverResponse) => { LootLockerResponse.Serialize(onComplete, serverResponse); });
316+
LootLockerServerRequest.CallAPI(getVariable, endPoint.httpMethod, null, onComplete: (serverResponse) => { LootLockerResponse.Serialize(onComplete, serverResponse); });
317317
}
318318

319319
public static void SetPlayerName(PlayerNameRequest data, Action<PlayerNameResponse> onComplete)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.lootlocker.lootlockersdk",
3-
"version": "1.1.20",
3+
"version": "1.1.21",
44
"displayName": "LootLocker",
55
"description": "LootLocker SDK",
66
"unity": "2019.2",

0 commit comments

Comments
 (0)