Usersettings

This commit is contained in:
Bastian Wagner
2025-01-24 14:11:23 +01:00
parent 2674ec0d24
commit e05b6cfc42
12 changed files with 281 additions and 5 deletions

View File

@@ -119,4 +119,12 @@ export class ApiService {
createCylinder(data: any) {
return this.http.post<ICylinder>('api/cylinder', data);
}
getSettings(): Observable<any> {
return this.http.get('api/user/settings')
}
updateSettings(settings: any): Observable<any> {
return this.http.post('api/user/settings', settings)
}
}