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.quotaService.quotas().subscribe((data: any) => {
this.quotaService.quotasAll().subscribe((data: any) => {
this.quotas = data;
})

View File

@ -15,6 +15,10 @@ export class QuotaService {
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");
}