Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit 8eef8ec

Browse files
committed
fix(lua): json_encode events closed json with }}
1 parent c0057db commit 8eef8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/src/broker_utils.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ static void broker_json_encode_broker_event(std::shared_ptr<io::data> e,
224224
}
225225
}
226226
}
227-
oss << "}}";
227+
oss << "}";
228228
} else
229229
throw exceptions::msg() << "cannot bind object of type " << e->type()
230230
<< " to database query: mapping does not exist";

0 commit comments

Comments
 (0)