Skip to content
Snippets Groups Projects
Commit 85d7e9d8 authored by James Allen's avatar James Allen
Browse files

Include OL tokens in project schema

parent e7d5fc61
Branches ja-include-token-in-project-schema
No related tags found
No related merge requests found
...@@ -36,6 +36,8 @@ ProjectSchema = new Schema ...@@ -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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment