Reformat extension message definitions

This commit is contained in:
hensm
2021-04-24 02:37:51 +01:00
committed by Matt Hensman
parent 16c2c797d3
commit d806bfcf0c
10 changed files with 197 additions and 250 deletions

View File

@@ -88,10 +88,10 @@ export default class Media {
}
private sendMessage (subject: string, data: any) {
data._id = this.referenceId;
(sendMessage as any)({
subject
, data
, _id: this.referenceId
});
}
}