Skip to content

Commit

Permalink
fix: add search
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeen committed Jan 10, 2022
1 parent 53b4921 commit e6f5a67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/v1/resources/units.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const querySchema = Joi.object()
.keys({
page: Joi.number(),
limit: Joi.number(),
search: Joi.string(),
columns: Joi.alternatives().try(
Joi.array().items(Joi.string()).single(),
),
Expand Down

0 comments on commit e6f5a67

Please sign in to comment.