Skip to content

Commit

Permalink
fix: typo in role-schema.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr committed Jan 11, 2022
1 parent c9481eb commit 52ee1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/schema/role-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const permissionRoleSchema = joi
.object()
.keys({
id: joi.number().required(),
enivronment: joi.string().allow(null).optional(),
environment: joi.string().optional().allow('').allow(null).default(''),
})
.options({ stripUnknown: true, allowUnknown: false, abortEarly: false });

Expand Down

0 comments on commit 52ee1f1

Please sign in to comment.