Skip to content

Commit 10bb887

Browse files
Merge pull request #59 from aws-solutions-library-samples/juhoaws-patch-1
Return the UserInfo data correctly in _to_string()
2 parents cd7ad38 + f03ed28 commit 10bb887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GodotSample/AWSGameSDK/AWSGameSDK.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class UserInfo:
1717
var refresh_token_expires_in = "";
1818

1919
func _to_string():
20-
print("user_id: " + user_id + "\nguest_secret: " + guest_secret + "\nauth_token: " + auth_token +
20+
return("user_id: " + user_id + "\nguest_secret: " + guest_secret + "\nauth_token: " + auth_token +
2121
"\napple_id: " + apple_id + "\nsteam_id: " + steam_id + "\ngoogle_play_id: " + google_play_id
2222
+ "\nfacebook_id: " + facebook_id
2323
+ "\nrefresh_token: " + refresh_token + "\nauth_token_expires_in: " + str(auth_token_expires_in)

0 commit comments

Comments
 (0)