Skip to content

Commit badc0b2

Browse files
committed
fix: Remove redundant topic when passed as a data
1 parent 696acd7 commit badc0b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ function infermedicaModule() {
208208
const attributes = {
209209
environment,
210210
};
211-
const { topic } = data;
211+
const { topic, ...rest } = data;
212212
const events = [
213213
{
214-
data,
214+
data: rest,
215215
attributes,
216216
},
217217
];

0 commit comments

Comments
 (0)