From aef130dff425da4987fc302706cb2fd5687755be Mon Sep 17 00:00:00 2001 From: _Bastler <_Bastler@bstly.de> Date: Tue, 1 Jun 2021 12:24:55 +0200 Subject: [PATCH] all quotas --- src/app/pages/account/info/info.component.ts | 2 +- src/app/services/quota.service.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/pages/account/info/info.component.ts b/src/app/pages/account/info/info.component.ts index 4c684fc..488760a 100644 --- a/src/app/pages/account/info/info.component.ts +++ b/src/app/pages/account/info/info.component.ts @@ -19,7 +19,7 @@ export class InfoComponent implements OnInit { this.permissions = data; }) - this.quotaService.quotas().subscribe((data: any) => { + this.quotaService.quotasAll().subscribe((data: any) => { this.quotas = data; }) diff --git a/src/app/services/quota.service.ts b/src/app/services/quota.service.ts index 4023586..8cde68d 100644 --- a/src/app/services/quota.service.ts +++ b/src/app/services/quota.service.ts @@ -14,6 +14,10 @@ export class QuotaService { quotas() { return this.http.get(environment.apiUrl + "/quotas"); } + + quotasAll() { + return this.http.get(environment.apiUrl + "/quotas/all"); + } quotasNew() { return this.http.get(environment.apiUrl + "/quotas/new");