mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
Removed duplicate 'id' for User permittedOptions
refs #9881 This is because we don't want duplicates
This commit is contained in:
parent
2cb8d06fca
commit
7d25c36a7b
@ -335,7 +335,7 @@ User = ghostBookshelf.Model.extend({
|
||||
validOptions = {
|
||||
findOne: ['withRelated', 'status'],
|
||||
setup: ['id'],
|
||||
edit: ['withRelated', 'id', 'importPersistUser'],
|
||||
edit: ['withRelated', 'importPersistUser'],
|
||||
add: ['importPersistUser'],
|
||||
findPage: ['page', 'limit', 'columns', 'filter', 'order', 'status', 'absolute_urls'],
|
||||
findAll: ['filter']
|
||||
|
Loading…
Reference in New Issue
Block a user