Skip to content
Snippets Groups Projects
Commit 76124896 authored by Felipe Cecagno's avatar Felipe Cecagno
Browse files

add record-id to published/unpublished/deleted as well

parent e1b48fd7
No related branches found
No related tags found
No related merge requests found
......@@ -295,6 +295,7 @@ module.exports = class MessageMapping {
if (this.mappedObject.data.id === "published" ||
this.mappedObject.data.id === "unpublished" ||
this.mappedObject.data.id === "deleted") {
this.mappedObject.data.attributes["record-id"] = data.meeting_id;
this.mappedObject.data.attributes["format"] = data.format;
} else {
this.mappedObject.data.attributes["record-id"] = data.record_id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment