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=()->) ->
console.log ">> Adding indexes for token-based project access: "
db.projects.ensureIndex {'tokens.readAndWrite': 1}, {
partialFilterExpression: { 'tokens.readAndWrite': { $exists: true } },
unique: true,
background: true
}, (err) ->
partialFilterExpression: { 'tokens.readAndWrite': { $exists: true } },
unique: true,
background: true
}, (err) ->
if err?
return done(err)
db.projects.ensureIndex {'tokens.readOnly': 1}, {