mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
5 lines
248 B
CoffeeScript
5 lines
248 B
CoffeeScript
Project = require("../../models/Project").Project
|
|
|
|
module.exports = TrackChangesManager =
|
|
toggleTrackChanges: (project_id, track_changes_on, callback = (error) ->) ->
|
|
Project.update {_id: project_id}, {track_changes: track_changes_on}, callback
|