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

5 lines
193 B
JavaScript
Raw Normal View History

module.exports = {
combineProjectIdAndDocId(project_id, doc_id) { return `${project_id}:${doc_id}`; },
splitProjectIdAndDocId(project_and_doc_id) { return project_and_doc_id.split(":"); }
};