mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Fix whitespace
This commit is contained in:
parent
efe09aa885
commit
1d1bf4a541
1 changed files with 4 additions and 4 deletions
|
@ -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}, {
|
||||
|
|
Loading…
Reference in a new issue