mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-18 16:22:37 -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
|