Fix whitespace

This commit is contained in:
Shane Kilkelly 2018-08-02 10:10:19 +01:00
parent efe09aa885
commit 1d1bf4a541

View file

@ -17,10 +17,10 @@ handleExit = () ->
exports.migrate = (client, done=()->) -> exports.migrate = (client, done=()->) ->
console.log ">> Adding indexes for token-based project access: " console.log ">> Adding indexes for token-based project access: "
db.projects.ensureIndex {'tokens.readAndWrite': 1}, { db.projects.ensureIndex {'tokens.readAndWrite': 1}, {
partialFilterExpression: { 'tokens.readAndWrite': { $exists: true } }, partialFilterExpression: { 'tokens.readAndWrite': { $exists: true } },
unique: true, unique: true,
background: true background: true
}, (err) -> }, (err) ->
if err? if err?
return done(err) return done(err)
db.projects.ensureIndex {'tokens.readOnly': 1}, { db.projects.ensureIndex {'tokens.readOnly': 1}, {