fix changing of user role
This commit is contained in:
parent
3e08d96c30
commit
079f4638f1
@ -21,6 +21,7 @@ Template for next version
|
||||
- use monorepo (https://github.com/ohmyform/ohmyform/pull/221)
|
||||
- update to node 20 (https://github.com/ohmyform/ohmyform/issues/228)
|
||||
- fix missing python error in api (https://github.com/ohmyform/ohmyform/issues/199)
|
||||
- [API] fix change user role (https://github.com/ohmyform/api/pull/49)
|
||||
|
||||
## [1.0.3] - 2022-03-27
|
||||
|
||||
|
@ -64,6 +64,6 @@ export class UserUpdateService {
|
||||
return false
|
||||
}
|
||||
|
||||
return input[property] == user[property]
|
||||
return input[property] !== user[property]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user