mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Convert integer dropbox id to string when searching mongo
This commit is contained in:
parent
670e8e5cb9
commit
604505131b
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module.exports = DropboxWebhookHandler =
|
|||
|
||||
pollDropboxUid: (dropbox_uid, callback = (error) ->) ->
|
||||
User.find {
|
||||
"dropbox.access_token.uid": dropbox_uid
|
||||
"dropbox.access_token.uid": dropbox_uid.toString()
|
||||
"features.dropbox": true
|
||||
}, (error, users = []) ->
|
||||
return callback(error) if error?
|
||||
|
|
Loading…
Reference in a new issue