diff --git a/addons/com.heroiclabs.nakama/Satori/SatoriClient.gd b/addons/com.heroiclabs.nakama/Satori/SatoriClient.gd index f97ba65..cc6662d 100644 --- a/addons/com.heroiclabs.nakama/Satori/SatoriClient.gd +++ b/addons/com.heroiclabs.nakama/Satori/SatoriClient.gd @@ -96,7 +96,7 @@ func _parse_session(p_session: SatoriAPI.ApiSession) -> SatoriSession: return SatoriSession.new(p_session.token, p_session.refresh_token) ## Refresh a user's session using a refresh token retrieved from a previous authentication request. [br] -## p_sesison: The session of the user. +## p_session: The session of the user. func session_refresh_async(p_session : SatoriSession) -> SatoriSession: return _parse_session(await _api_client.authenticate_refresh_async(api_key, "", SatoriAPI.ApiAuthenticateRefreshRequest.create(SatoriAPI, { diff --git a/addons/com.heroiclabs.nakama/client/NakamaClient.gd b/addons/com.heroiclabs.nakama/client/NakamaClient.gd index a430824..b9245c8 100644 --- a/addons/com.heroiclabs.nakama/client/NakamaClient.gd +++ b/addons/com.heroiclabs.nakama/client/NakamaClient.gd @@ -815,7 +815,7 @@ func session_logout_async(p_session : NakamaSession) -> NakamaAsyncResult: ## p_session - The session of the user. [br] ## p_vars - Extra information which should be bundled inside the session token. [br] ## Returns a task which resolves to a new session object. -func session_refresh_async(p_sesison : NakamaSession, p_vars = null) -> NakamaSession: +func session_refresh_async(p_session : NakamaSession, p_vars = null) -> NakamaSession: return _parse_auth(await _api_client.session_refresh_async(server_key, "", NakamaAPI.ApiSessionRefreshRequest.create(NakamaAPI, { "token": p_session.refresh_token,