Skip to content

Commit

Permalink
feat: add fileId field to location validation
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Aug 18, 2022
1 parent 4a7f754 commit 3648c1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/validations/locations.validations.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const locationSchema = Joi.object({
.try(Joi.string(), Joi.number())
.required(),
timeStaged: Joi.date().timestamp().allow(null).optional(),
fileId: Joi.string().allow(null, '').optional(),
updatedAt: Joi.date().optional(),
createdAt: Joi.date().optional(),
});

0 comments on commit 3648c1c

Please sign in to comment.