diff --git a/Runtime/Game/LootLockerSDKManager.cs b/Runtime/Game/LootLockerSDKManager.cs index 7d269bbc..3d90cedf 100644 --- a/Runtime/Game/LootLockerSDKManager.cs +++ b/Runtime/Game/LootLockerSDKManager.cs @@ -861,7 +861,7 @@ public static void ConnectGoogleAccount(string idToken, Action { LootLockerResponse.Deserialize(onComplete, response); }); + LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.connectProviderToAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); }); } /// @@ -882,7 +882,7 @@ public static void ConnectGoogleAccount(string idToken, GoogleAccountProviderPla string data = LootLockerJson.SerializeObject(new LootLockerConnectGoogleProviderToAccountWithPlatformRequest() { id_token = idToken, platform = platform }); - LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.disconnectAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); }); + LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.connectProviderToAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); }); } /// @@ -902,7 +902,7 @@ public static void ConnectAppleAccountByRestSignIn(string authorizationCode, Act string data = LootLockerJson.SerializeObject(new LootLockerConnectAppleRestProviderToAccountRequest() { authorization_code = authorizationCode }); - LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.disconnectAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); }); + LootLockerServerRequest.CallAPI(endpoint, LootLockerEndPoints.connectProviderToAccount.httpMethod, data, (response) => { LootLockerResponse.Deserialize(onComplete, response); }); } #endregion