feat: pass headers correctly to downloadURL

This commit is contained in:
Zamitto 2024-08-05 15:21:05 -03:00
parent 070340b34f
commit e1ef8a9193
4 changed files with 18 additions and 9 deletions

View file

@ -64,6 +64,14 @@ export class HydraApi {
}
}
static handleSignOut() {
this.userAuth = {
authToken: "",
refreshToken: "",
expirationTimestamp: 0,
};
}
static async setupApi() {
this.instance = axios.create({
baseURL: import.meta.env.MAIN_VITE_API_URL,