Skip to content

Commit 6fe2fda

Browse files
committed
Fix broken Loot Box endpoints
1 parent 94df200 commit 6fe2fda

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Runtime/Client/LootLockerEndPoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class LootLockerEndPoints
8181
public static EndPointClass updateKeyValuePairById = new EndPointClass("v1/asset/instance/{0}/storage/{1}", LootLockerHTTPMethod.PUT);
8282
public static EndPointClass deleteKeyValuePair = new EndPointClass("v1/asset/instance/{0}/storage/{1}", LootLockerHTTPMethod.DELETE);
8383
public static EndPointClass inspectALootBox = new EndPointClass("v1/asset/instance/{0}/inspect", LootLockerHTTPMethod.GET);
84-
public static EndPointClass openALootBox = new EndPointClass("v1/player/asset/instance/{0}/open", LootLockerHTTPMethod.PUT);
84+
public static EndPointClass openALootBox = new EndPointClass("v1/asset/instance/{0}/open", LootLockerHTTPMethod.PUT);
8585
//UGC
8686
[Header("UGC")]
8787
public static EndPointClass creatingAnAssetCandidate = new EndPointClass("v1/player/assets/candidates", LootLockerHTTPMethod.POST);

Runtime/Game/Requests/AssetInstanceRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public static void DeleteKeyValuePair(LootLockerGetRequest data, Action<LootLock
238238

239239
public static void InspectALootBox(LootLockerGetRequest data, Action<LootLockerInspectALootBoxResponse> onComplete)
240240
{
241-
EndPointClass endPoint = LootLockerEndPoints.deleteKeyValuePair;
241+
EndPointClass endPoint = LootLockerEndPoints.inspectALootBox;
242242

243243
string getVariable = string.Format(endPoint.endPoint, data.getRequests[0]);
244244

@@ -258,7 +258,7 @@ public static void InspectALootBox(LootLockerGetRequest data, Action<LootLockerI
258258

259259
public static void OpenALootBox(LootLockerGetRequest data, Action<LootLockerOpenLootBoxResponse> onComplete)
260260
{
261-
EndPointClass endPoint = LootLockerEndPoints.deleteKeyValuePair;
261+
EndPointClass endPoint = LootLockerEndPoints.openALootBox;
262262

263263
string getVariable = string.Format(endPoint.endPoint, data.getRequests[0]);
264264

0 commit comments

Comments
 (0)