mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
parent
f3e9218ee3
commit
002a135962
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ _private.validateData = function validateData(object) {
|
|||
type: ['read', 'browse'],
|
||||
resource: _.map(RESOURCE_CONFIG.QUERY, 'resource')
|
||||
};
|
||||
const allowedQueryOptions = ['limit', 'filter', 'include', 'slug', 'visibility', 'status'];
|
||||
const allowedQueryOptions = ['limit', 'order', 'filter', 'include', 'slug', 'visibility', 'status'];
|
||||
const allowedRouterOptions = ['redirect', 'slug'];
|
||||
const defaultRouterOptions = {
|
||||
redirect: true
|
||||
|
|
Loading…
Add table
Reference in a new issue