Skip to content

Commit

Permalink
fix: use Joi.object() in schema definition
Browse files Browse the repository at this point in the history
  • Loading branch information
air1one committed Feb 27, 2020
1 parent d9b8bc5 commit 2a325d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core-magistrate-api/src/routes/businesses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export const register = (server: Hapi.Server): void => {
.hex()
.length(66),
}),
query: {
query: Joi.object({
transform: Joi.bool().default(true),
},
}),
},
},
});
Expand Down

0 comments on commit 2a325d1

Please sign in to comment.