Skip to content
Snippets Groups Projects
Commit 46a63beb authored by alrwasheda's avatar alrwasheda :speech_balloon:
Browse files

fullnameOfResponsableClient instead of (firstName + lastName). additionalClientsArray added

parent 842f8819
No related branches found
No related tags found
No related merge requests found
...@@ -12,9 +12,9 @@ entryRouter.post( ...@@ -12,9 +12,9 @@ entryRouter.post(
body("startTime").isISO8601(), body("startTime").isISO8601(),
body("estimatedEndTime").isISO8601(), body("estimatedEndTime").isISO8601(),
body("email").isEmail().normalizeEmail(), body("email").isEmail().normalizeEmail(),
body("firstName").not().isEmpty(), body("fullNameOfResponsableClient").not().isEmpty(),
body("lastName").not().isEmpty(), body("boatId").isUUID(),
body("boatID").isUUID(), body("additionalClients").isArray(),
handleValidationResult, handleValidationResult,
createLogEntryController createLogEntryController
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment