mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
6 lines
248 B
CoffeeScript
6 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
|