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");