Fix:
Update password works Updated the precision and nullability for models Batch was sending non round quantity_available Amounts were not being displayed in daybook Moved dockerfile from root to have a consistent build environment
This commit is contained in:
@@ -59,6 +59,14 @@ export class UserService {
|
||||
);
|
||||
}
|
||||
|
||||
updateMe(user: User): Observable<User> {
|
||||
return <Observable<User>>(
|
||||
this.http
|
||||
.put<User>(`${url}/me`, user, httpOptions)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'update')))
|
||||
);
|
||||
}
|
||||
|
||||
saveOrUpdate(user: User): Observable<User> {
|
||||
if (!user.id) {
|
||||
return this.save(user);
|
||||
|
||||
Reference in New Issue
Block a user