Skip to content

Commit 9ba0626

Browse files
authored
Update cmd_sync.cpp
1 parent bfcafb5 commit 9ba0626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/mesh/cmd_sync.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ void cmd_sync(const std::vector<std::string> &subArgs) {
237237
auto &evJson = msg.at(2);
238238

239239
std::string okMsg;
240-
auto res = writePolicyPlugin.acceptEvent(cfg().relay__writePolicy__plugin, evJson, EventSourceType::Sync, ws.remoteAddr, okMsg);
240+
auto res = writePolicyPlugin.acceptEvent(cfg().relay__writePolicy__plugin, evJson, EventSourceType::Sync, url, okMsg);
241241
if (res == PluginEventSifterResult::Accept) {
242242
writer.write({ std::move(evJson), });
243243
} else {

0 commit comments

Comments
 (0)