mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #594 from sharelatex/ja-include-token-in-project-schema
Include OL tokens in project schema
This commit is contained in:
commit
adf211a226
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ ProjectSchema = new Schema
|
||||||
overleaf :
|
overleaf :
|
||||||
id : { type: Number }
|
id : { type: Number }
|
||||||
imported_at_ver_id : { type: Number }
|
imported_at_ver_id : { type: Number }
|
||||||
|
token : { type: String }
|
||||||
|
read_token : { type: String }
|
||||||
|
|
||||||
ProjectSchema.statics.getProject = (project_or_id, fields, callback)->
|
ProjectSchema.statics.getProject = (project_or_id, fields, callback)->
|
||||||
if project_or_id._id?
|
if project_or_id._id?
|
||||||
|
|
Loading…
Reference in a new issue