mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
fix brace mistake in 005/01-update-ghost-client-secrets.js
This commit is contained in:
parent
a689998223
commit
6238dbc784
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