mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 23:15:24 +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: '',
|
||||
},
|
||||
})
|
||||
} else if (this.api.defaults.auth?.username !== accessToken) {
|
||||
this.api.defaults.auth = {
|
||||
username: accessToken,
|
||||
password: '',
|
||||
}
|
||||
}
|
||||
|
||||
return this.api
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue