all quotas

This commit is contained in:
_Bastler 2021-06-01 12:24:55 +02:00
parent a1717bdeb2
commit aef130dff4
2 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export class InfoComponent implements OnInit {
this.permissions = data; this.permissions = data;
}) })
this.quotaService.quotas().subscribe((data: any) => { this.quotaService.quotasAll().subscribe((data: any) => {
this.quotas = data; this.quotas = data;
}) })

View File

@ -14,6 +14,10 @@ export class QuotaService {
quotas() { quotas() {
return this.http.get(environment.apiUrl + "/quotas"); return this.http.get(environment.apiUrl + "/quotas");
} }
quotasAll() {
return this.http.get(environment.apiUrl + "/quotas/all");
}
quotasNew() { quotasNew() {
return this.http.get(environment.apiUrl + "/quotas/new"); return this.http.get(environment.apiUrl + "/quotas/new");