Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix p_sesison typos #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/com.heroiclabs.nakama/Satori/SatoriClient.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down
2 changes: 1 addition & 1 deletion addons/com.heroiclabs.nakama/client/NakamaClient.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down