Skip to content

Commit e13d86f

Browse files
Mikkel Sørensenkirre-bylund
authored andcommitted
Update the endpoints used when connecting accounts
1 parent 5c35529 commit e13d86f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ public static void ConnectGoogleAccount(string idToken, Action<LootLockerRespons
861861

862862
string data = LootLockerJson.SerializeObject(new LootLockerConnectGoogleProviderToAccountRequest{id_token = idToken });
863863

864-
LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.disconnectAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); });
864+
LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.connectProviderToAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); });
865865
}
866866

867867
/// <summary>
@@ -882,7 +882,7 @@ public static void ConnectGoogleAccount(string idToken, GoogleAccountProviderPla
882882

883883
string data = LootLockerJson.SerializeObject(new LootLockerConnectGoogleProviderToAccountWithPlatformRequest() { id_token = idToken, platform = platform });
884884

885-
LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.disconnectAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); });
885+
LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.connectProviderToAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); });
886886
}
887887

888888
/// <summary>
@@ -902,7 +902,7 @@ public static void ConnectAppleAccountByRestSignIn(string authorizationCode, Act
902902

903903
string data = LootLockerJson.SerializeObject(new LootLockerConnectAppleRestProviderToAccountRequest() { authorization_code = authorizationCode });
904904

905-
LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.disconnectAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); });
905+
LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.connectProviderToAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); });
906906
}
907907

908908
#endregion

0 commit comments

Comments
 (0)