fix brace mistake in 005/01-update-ghost-client-secrets.js

This commit is contained in:
kirrg001 2016-05-07 16:19:38 +02:00
parent a689998223
commit 6238dbc784

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