Skip to content

Commit

Permalink
Fix module errors
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownskl committed Nov 6, 2023
1 parent 37fa777 commit 2d56802
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src_ts/tokenstore.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
const { tokenstore_load, tokenstore_save } = require("../dist/xal-node.node");
// const { tokenstore_load, tokenstore_save } = require("../dist/xal-node.node");

export default class TokenStore {

load(filepath:string) {
return tokenstore_load(filepath)
// return tokenstore_load(filepath)
return false
}

}
1 change: 0 additions & 1 deletion src_ts/xal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ export class XalAuthenticator {

flow_retrieve_xststoken(code_token, sisu_token){
return new Promise((resolve, reject) => {
console.log(code_token, sisu_token)
this.do_xsts_authorization(sisu_token.DeviceToken, sisu_token.TitleToken.Token, sisu_token.UserToken.Token, "http://gssv.xboxlive.com/").then((xsts_token:any) => {
resolve(xsts_token)

Expand Down

0 comments on commit 2d56802

Please sign in to comment.