Include OL tokens in project schema

This commit is contained in:
James Allen 2017-09-05 10:50:39 +02:00
parent 7bb4638186
commit 39320c20b8

View file

@ -36,6 +36,8 @@ ProjectSchema = new Schema
overleaf :
id : { type: Number }
imported_at_ver_id : { type: Number }
token : { type: String }
read_token : { type: String }
ProjectSchema.statics.getProject = (project_or_id, fields, callback)->
if project_or_id._id?