1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00

fix 403 issue

This commit is contained in:
Tyler Myracle 2024-01-17 11:09:42 -06:00
parent 836a0e157c
commit 9ffe6b791e

View file

@ -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