This commit is contained in:
kolaente 2025-07-19 16:21:09 +02:00
parent ee8bd6c3c9
commit a747ed9ac2
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
4 changed files with 4 additions and 4 deletions

View File

@ -317,7 +317,7 @@ export default abstract class AbstractService<Model extends IAbstract = IAbstrac
}
async getBlobUrl(url : string, method : Method = 'GET', data = {}) {
const response = await this.http({
const response = await this.http.request({
url,
method,
responseType: 'blob',

View File

@ -20,7 +20,7 @@ export default class BackgroundUnsplashService extends AbstractService<IBackgrou
}
async thumb(model) {
const response = await this.http({
const response = await this.http.request({
url: `/backgrounds/unsplash/images/${model.id}/thumb`,
method: 'GET',
responseType: 'blob',

View File

@ -44,7 +44,7 @@ export default class ProjectService extends AbstractService<IProject> {
return ''
}
const response = await this.http({
const response = await this.http.request({
url: `/projects/${project.id}/background`,
method: 'GET',
responseType: 'blob',

View File

@ -28,7 +28,7 @@ export default class TotpService extends AbstractService<ITotp> {
}
async qrcode() {
const response = await this.http({
const response = await this.http.request({
url: `${this.urlPrefix}/qrcode`,
method: 'GET',
responseType: 'blob',