Update list of unsupported query parameters

This commit is contained in:
Aurélien Georget 2016-02-01 14:56:17 +01:00
parent 3fa303fa8b
commit 4725e87cc4

View File

@ -83,7 +83,7 @@ module.exports = {
fetchQuery: function * (ctx) {
_.forEach(_.keys(ctx.query), function (key) {
if (_.includes(['include', 'fields', 'sort'], key)) {
if (_.includes(['include', 'fields', 'sort', 'page', 'filter'], key)) {
throw {
status: 400,
body: {