feat: implement change password functionality with dialog and service integration

This commit is contained in:
2026-06-07 13:56:36 +03:30
parent cd09b09e3b
commit 2f67801700
9 changed files with 89 additions and 60 deletions
+14
View File
@@ -0,0 +1,14 @@
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
@Injectable({
providedIn: 'root',
})
export class PosChangePasswordService {
constructor(private readonly http: HttpClient) {}
changePassword(password: string): Observable<unknown> {
return this.http.put('/api/v1/pos/update-password', { password });
}
}