Skip to content

Commit 4fe32a8

Browse files
#78 - restore changes made in #79
1 parent 77b5278 commit 4fe32a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app-bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
global.Promise = require('bluebird')
55
const Joi = require('joi')
66

7-
Joi.optionalId = () => Joi.alternatives().try(Joi.number(), Joi.string())
7+
Joi.optionalId = () => Joi.string()
88
Joi.id = () => Joi.optionalId().required()
99
Joi.page = () => Joi.number().integer().min(1).default(1)
1010
Joi.perPage = () => Joi.number().integer().min(1).default(20)

0 commit comments

Comments
 (0)