Skip to content

Commit

Permalink
Fixed createAuthSessionTicket callback not receiving ticket properly
Browse files Browse the repository at this point in the history
(Fixes #391)
  • Loading branch information
DoctorMcKay committed Mar 17, 2022
1 parent 7a8082e commit 834fb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/appauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class SteamUserAppAuth extends SteamUserAccount {
}

createAuthSessionTicket(appid, callback) {
return StdLib.Promises.callbackPromise(['appTicket'], callback, (resolve, reject) => {
return StdLib.Promises.callbackPromise(['sessionTicket'], callback, (resolve, reject) => {
// For an auth session ticket we need the following:
// 1. Length-prefixed GCTOKEN
// 2. Length-prefixed SESSIONHEADER
Expand Down

0 comments on commit 834fb76

Please sign in to comment.