mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 17:44:58 +00:00
person: on-the-fly person: first implementation of makeFetch for posting person
This commit is contained in:
@@ -86,6 +86,7 @@ const ValidationException = (response) => {
|
||||
const error = {};
|
||||
error.name = 'ValidationException';
|
||||
error.violations = response.violations.map((violation) => `${violation.title}`);
|
||||
error.propertyPaths = response.violations.map((violation) => `${violation.propertyPath}`);
|
||||
|
||||
return error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user