Skip to content

Commit bfdc035

Browse files
Erik Bylundkirre-bylund
authored andcommitted
Add LL prefix to custom headers
1 parent 93797ae commit bfdc035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtime/Client/LootLockerServerApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ private bool WebRequestSucceeded(UnityWebRequest webRequest)
208208
{ "Access-Control-Allow-Headers", "Accept, X-Access-Token, X-Application-Name, X-Request-Sent-Time" },
209209
{ "Access-Control-Allow-Methods", "GET, POST, DELETE, PUT, OPTIONS, HEAD" },
210210
{ "Access-Control-Allow-Origin", "*" },
211-
{ "User-Instance-Identifier", System.Guid.NewGuid().ToString() }
211+
{ "LL-Instance-Identifier", System.Guid.NewGuid().ToString() }
212212
};
213213

214214
private void RefreshTokenAndCompleteCall(LootLockerServerRequest cachedRequest, Action<LootLockerResponse> onComplete)
@@ -440,7 +440,7 @@ private UnityWebRequest CreateWebRequest(string url, LootLockerServerRequest req
440440

441441
if (!string.IsNullOrEmpty(LootLockerConfig.current?.sdk_version))
442442
{
443-
webRequest.SetRequestHeader("SDK-Version", LootLockerConfig.current.sdk_version);
443+
webRequest.SetRequestHeader("LL-SDK-Version", LootLockerConfig.current.sdk_version);
444444
}
445445

446446
if (request.extraHeaders != null)

0 commit comments

Comments
 (0)