mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 11:43:17 +00:00
10 lines
297 B
CoffeeScript
10 lines
297 B
CoffeeScript
Project = require('../../models/Project').Project
|
|
logger = require('logger-sharelatex')
|
|
|
|
module.exports =
|
|
markAsUpdated : (project_id, callback)->
|
|
conditions = {_id:project_id}
|
|
update = {lastUpdated:Date.now()}
|
|
Project.update conditions, update, {}, (err)->
|
|
if callback?
|
|
callback()
|