Skip to content

Commit

Permalink
Update createMetadataRequest.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsmithies committed Sep 1, 2022
1 parent 3b68c54 commit 40ed649
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/validators/createMetadataRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ const schema = Joi.object()
.optional()
),

attributes: Joi.array().items(
Joi.object().optional()
),
attributes: Joi.array().items(Joi.object().optional()),

// Properties seems like a free-for-all 😂
properties: Joi.object()
Expand Down

0 comments on commit 40ed649

Please sign in to comment.