From a747ed9ac29e4ef964fff066fa51ff0f0c023a62 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 19 Jul 2025 16:21:09 +0200 Subject: [PATCH] fix --- frontend/src/services/abstractService.ts | 2 +- frontend/src/services/backgroundUnsplash.ts | 2 +- frontend/src/services/project.ts | 2 +- frontend/src/services/totp.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/services/abstractService.ts b/frontend/src/services/abstractService.ts index 454cd08e8..040f3d8ce 100644 --- a/frontend/src/services/abstractService.ts +++ b/frontend/src/services/abstractService.ts @@ -317,7 +317,7 @@ export default abstract class AbstractService { return '' } - const response = await this.http({ + const response = await this.http.request({ url: `/projects/${project.id}/background`, method: 'GET', responseType: 'blob', diff --git a/frontend/src/services/totp.ts b/frontend/src/services/totp.ts index 61ea4f900..39bb9a4a0 100644 --- a/frontend/src/services/totp.ts +++ b/frontend/src/services/totp.ts @@ -28,7 +28,7 @@ export default class TotpService extends AbstractService { } async qrcode() { - const response = await this.http({ + const response = await this.http.request({ url: `${this.urlPrefix}/qrcode`, method: 'GET', responseType: 'blob',