You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cvm/lib/tag-message.js

12 lines
184 B
JavaScript

'use strict';
const uuid = require("uuid");
module.exports = function tagMessage(message) {
if (message.messageId == null) {
message.messageId = uuid.v4();
}
return message;
}