Skip to content

Commit 030fb7f

Browse files
committed
getVariable command now returns any clientData that was passed in
1 parent a3f58f6 commit 030fb7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/RSession.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ RC2::RSession::handleGetVariableCommand(JsonCommand &command)
586586
{"value", value},
587587
{"startTime", command.startTimeStr()}
588588
};
589+
if (!command.clientData().is_null())
590+
results["clientData"] = command.clientData();
589591
sendJsonToClientSource(results.dump());
590592
}
591593

0 commit comments

Comments
 (0)