mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
fix brace mistake in 005/01-update-ghost-client-secrets.js
This commit is contained in:
parent
a689998223
commit
6238dbc784
@ -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…
Reference in New Issue
Block a user