mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Update list of unsupported query parameters
This commit is contained in:
parent
3fa303fa8b
commit
4725e87cc4
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user