client/home: fix reporting backend errors
The code mistakenly referred to a non-existing field. Now it matches the rest of the error handlers.
This commit is contained in:
parent
6d0bf90b47
commit
6b042504b0
|
@ -16,7 +16,7 @@ class Info {
|
||||||
undefined
|
undefined
|
||||||
}));
|
}));
|
||||||
}, response => {
|
}, response => {
|
||||||
return Promise.reject(response.errorMessage);
|
return Promise.reject(response.description);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue