overleaf/services/document-updater/app/coffee/UpdateKeys.coffee

4 lines
173 B
CoffeeScript
Raw Normal View History

module.exports =
combineProjectIdAndDocId: (project_id, doc_id) -> "#{project_id}:#{doc_id}"
splitProjectIdAndDocId: (project_and_doc_id) -> project_and_doc_id.split(":")