Zylinder angefangen

This commit is contained in:
Bastian Wagner
2024-10-24 16:57:30 +02:00
parent 03ae75c83d
commit d4f1fbbf39
15 changed files with 167 additions and 33 deletions

View File

@@ -33,10 +33,6 @@ export class ApiService {
return this.http.put<IKey>('api/key', key);
}
getCylinders(): Observable<any[]> {
return this.http.get<any[]>('api/key/cylinder');
}
createKey(key: any) {
return this.http.post<IKey>('api/key', key);
}
@@ -72,4 +68,8 @@ export class ApiService {
restoreKey(id: string) {
return this.http.put(`api/key/${id}/restore`, null);
}
getCylinders(): Observable<any[]> {
return this.http.get<any[]>('api/cylinder');
}
}