Skip to content

Commit

Permalink
feat: add more detail to Joi validatin of organization ids
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynndp committed Nov 13, 2023
1 parent f5516ed commit 7c1dabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routers/organizationsRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ router.get(
query,
Joi.object().keys({
planter_id: Joi.number().integer().min(0),
ids: Joi.array(),
ids: Joi.array().items(Joi.number()),
stakeholder_uuid: Joi.string().uuid(),
limit: Joi.number().integer().min(1).max(1000),
offset: Joi.number().integer().min(0),
Expand Down

0 comments on commit 7c1dabb

Please sign in to comment.