mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
fix 403 issue
This commit is contained in:
parent
836a0e157c
commit
9ffe6b791e
1 changed files with 5 additions and 0 deletions
|
@ -158,6 +158,11 @@ export class TellerApi {
|
||||||
password: '',
|
password: '',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
} else if (this.api.defaults.auth?.username !== accessToken) {
|
||||||
|
this.api.defaults.auth = {
|
||||||
|
username: accessToken,
|
||||||
|
password: '',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.api
|
return this.api
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue