Skip to content

Commit 74e4fb2

Browse files
Erik Bylundkirre-bylund
authored andcommitted
fix: Use game/<gameid> in create asset route for test setup
1 parent 306aaca commit 74e4fb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Runtime/Client/LootLockerEndPoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public class LootLockerEndPoints
182182
public static EndPointClass startingEvent = new EndPointClass("v1/mission/{0}/start", LootLockerHTTPMethod.POST);
183183
public static EndPointClass finishingEvent = new EndPointClass("v1/mission/{0}/end", LootLockerHTTPMethod.POST);
184184

185-
// UGC
185+
// Missions
186186
[Header("Missions")]
187187
public static EndPointClass gettingAllMissions = new EndPointClass("v1/missions", LootLockerHTTPMethod.GET);
188188
public static EndPointClass gettingASingleMission = new EndPointClass("v1/mission/{0}", LootLockerHTTPMethod.GET);

Tests/LootLockerTestUtils/LootLockerTestConfigurationEndpoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public class LootLockerTestConfigurationEndpoints
9090

9191
[Header("LootLocker Admin API Asset Operations")]
9292
public static EndPointClass getAssetContexts = new EndPointClass("/v1/game/#GAMEID#/assets/contexts", LootLockerHTTPMethod.GET);
93-
public static EndPointClass createAsset = new EndPointClass("/v1/asset", LootLockerHTTPMethod.POST);
93+
public static EndPointClass createAsset = new EndPointClass("/v1/game/#GAMEID#/asset", LootLockerHTTPMethod.POST);
9494
public static EndPointClass createReward = new EndPointClass("game/#GAMEID#/reward", LootLockerHTTPMethod.POST);
9595
}
9696
#endregion

0 commit comments

Comments
 (0)