Skip to content

Commit 15363b9

Browse files
authored
Merge pull request #26 from OpenScriptJs/levizwannah-patch-1
Update OpenScript.js
2 parents d89638c + 2c0a2b0 commit 15363b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OpenScript.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,8 +1172,8 @@ let OpenScript = {
11721172
static parse(eventData) {
11731173
let ed = OpenScript.EventData.decode(eventData);
11741174

1175-
if (!"_meta" in ed) ed._meta = {};
1176-
if (!"_message" in ed) ed._message = {};
1175+
if (!("_meta" in ed)) ed._meta = {};
1176+
if (!("_message" in ed)) ed._message = {};
11771177

11781178
return {
11791179
meta: {

0 commit comments

Comments
 (0)