Skip to content

Commit

Permalink
fix(Session): PoToken not being set correctly (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjh980402 authored Aug 11, 2024
1 parent f1973c1 commit bb6e647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export default class Session extends EventEmitter {
return new Session(
context, api_key, api_version, account_index,
options.retrieve_player === false ? undefined : await Player.create(options.cache, options.fetch, options.po_token),
options.cookie, options.fetch, options.cache
options.cookie, options.fetch, options.cache, options.po_token
);
}

Expand Down Expand Up @@ -573,4 +573,4 @@ export default class Session extends EventEmitter {
get lang(): string {
return this.context.client.hl;
}
}
}

0 comments on commit bb6e647

Please sign in to comment.