Removed duplicate 'id' for User permittedOptions

refs #9881

This is because we don't want duplicates
This commit is contained in:
Fabien O'Carroll 2018-09-20 23:08:24 +07:00 committed by Katharina Irrgang
parent 2cb8d06fca
commit 7d25c36a7b

View File

@ -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']