mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix whitespace
This commit is contained in:
parent
2e82ac99bd
commit
6825f5d279
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