mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 23:12:58 +01:00
feat: add generateSaveId for composer
This commit is contained in:
@@ -720,6 +720,9 @@ const utils = {
|
||||
}
|
||||
};
|
||||
},
|
||||
generateSaveId: function (uid) {
|
||||
return ['composer', uid, Date.now()].join(':');
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = utils;
|
||||
|
||||
Reference in New Issue
Block a user