0
Fork 0
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:
Hannah Wolfe 2016-05-07 17:31:36 +02:00
commit dac44b4d4b

View file

@ -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})
);
});
});