mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Merge pull request #6797 from kirrg001/fix/005-update-ghost-client-secrets-brace
fix brace mistake in 005/01-update-ghost-client-secrets.js
This commit is contained in:
commit
dac44b4d4b
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ module.exports = function updateGhostClientsSecrets(options, logger) {
|
|||
client.secret = crypto.randomBytes(6).toString('hex');
|
||||
|
||||
return models.Client.edit(
|
||||
_.extend({}, client, {secret: crypto.randomBytes(6).toString('hex')},
|
||||
_.extend({}, options, {id: client.id}))
|
||||
_.extend({}, client, {secret: crypto.randomBytes(6).toString('hex')}),
|
||||
_.extend({}, options, {id: client.id})
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue