Skip to content

Commit

Permalink
removing validation before pre
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancisZamora committed Aug 17, 2018
1 parent fed1dd2 commit 444c9a9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions server/anchor/anchor-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,13 +413,6 @@ const register = function (server,serverOptions) {
method:'GET',
path:'/api/{collectionName}',
options: {
validate: {
query: {
sort: Joi.string().default('_id'),
limit: Joi.number().default(20),
page: Joi.number().default(1)
}
},
auth: {
strategies: ['simple','session','token'],
mode: 'try'
Expand Down

0 comments on commit 444c9a9

Please sign in to comment.