mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 10:10:08 +02:00
11 lines
297 B
CoffeeScript
11 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()
|