diff --git a/projects/account/src/app/core/http/device.service.ts b/projects/account/src/app/core/http/device.service.ts index 6aaf47f..8d45490 100644 --- a/projects/account/src/app/core/http/device.service.ts +++ b/projects/account/src/app/core/http/device.service.ts @@ -49,6 +49,10 @@ export class DeviceService { return this.http.get(preferencesUrl); } + updateAccountPreferences(preferencesForm: FormGroup): void { + this.http.patch(preferencesUrl, preferencesForm.value); + } + addAccountDefaults(defaultsForm: FormGroup) { this.http.post(defaultsUrl, defaultsForm.value).subscribe(); }