Merge pull request #5099 from jsangmeister/email-error-fix
Fixed error output of http service to correctly display email validation error
This commit is contained in:
commit
0ab46ed955
@ -171,7 +171,9 @@ export class HttpService {
|
||||
*/
|
||||
private processDetailResponse(response: DetailResponse): string {
|
||||
let message: string;
|
||||
if (response.detail instanceof Array) {
|
||||
if (response instanceof Array) {
|
||||
message = response.join(' ');
|
||||
} else if (response.detail instanceof Array) {
|
||||
message = response.detail.join(' ');
|
||||
} else {
|
||||
message = response.detail;
|
||||
|
Loading…
Reference in New Issue
Block a user