From 05d629a0c6dd0e24867ed1a23e5d4491f4c09ddf Mon Sep 17 00:00:00 2001 From: Ion Dormenco Date: Fri, 4 Dec 2020 18:47:08 +0200 Subject: [PATCH] Fix password sent (#327) --- .../observer-profile/observer-profile.component.html | 4 ++-- .../observers/observer-profile/observer-profile.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/observers/observer-profile/observer-profile.component.html b/src/app/components/observers/observer-profile/observer-profile.component.html index 9f127f86..f0dd78a5 100644 --- a/src/app/components/observers/observer-profile/observer-profile.component.html +++ b/src/app/components/observers/observer-profile/observer-profile.component.html @@ -54,8 +54,8 @@

{{ 'OBSERVER_EDIT' | transl
- - + +
diff --git a/src/app/components/observers/observer-profile/observer-profile.component.ts b/src/app/components/observers/observer-profile/observer-profile.component.ts index bc8620b0..236ded1f 100644 --- a/src/app/components/observers/observer-profile/observer-profile.component.ts +++ b/src/app/components/observers/observer-profile/observer-profile.component.ts @@ -108,7 +108,7 @@ export class ObserverProfileComponent implements OnInit, OnDestroy { private addNewObserver(values: { [k: string]: string }) { const observerToAdd: Observer = new Observer({}); observerToAdd.phone = values.phone; - observerToAdd.pin = values.password; + observerToAdd.pin = values.pin; observerToAdd.name = values.name; this.observerService.addNewObserver(observerToAdd).subscribe(() => {