Files
mostlymatter/api4
Agniva De Sarker 325bff1176 MM-30041: Return correct error message for user save (#16117)
* MM-30041: Return correct error message for user save

We were collapsing all types of user conflict into a single
error message. Fixed it by inspecting the field of the invalidError type
and returning the correct message.

https://mattermost.atlassian.net/browse/MM-30041

```release-note
NONE
```

* Fix test errors

* Fix wrong message in test when comparing error messages

Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
2020-10-30 11:14:06 +05:30
..
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-04-08 00:52:30 -04:00
2020-10-13 15:35:19 +02:00
2020-08-21 16:49:31 -04:00
2020-10-05 09:52:22 -04:00
2020-08-21 16:49:31 -04:00
2020-09-14 12:53:42 -06:00
2020-04-08 00:52:30 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-04-08 00:52:30 -04:00
2020-10-26 15:11:27 +05:30