Skip to content

Commit 0f1d06d

Browse files
committed
serialisation fix
1 parent cd974ec commit 0f1d06d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Runtime/Client/LootLockerBaseServerAPI.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ IEnumerator coroutine()
8282
if (Time.time - startTime >= maxTimeOut)
8383
{
8484
LootLockerSDKManager.DebugMessage("ERROR: Exceeded maxTimeOut waiting for a response from " + request.httpMethod.ToString() + " " + url);
85+
OnServerResponse?.Invoke(new LootLockerResponse() { hasError = true, statusCode = 408, Error = "{\"error\": \"" + request.endpoint + " Timed out.\"}" });
8586
yield break;
8687
}
8788
}

Runtime/Game/Requests/LeaderboardRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class LootLockerGetScoreListResponse : LootLockerResponse
4646
{
4747
public bool success => status;
4848
public LootLockerPagination pagination { get; set; }
49-
public LootLockerMember[] members { get; set; }
49+
public LootLockerMember[] items { get; set; }
5050
}
5151

5252
public class LootLockerPagination

0 commit comments

Comments
 (0)