Skip to content

Commit 959edad

Browse files
authored
Merge pull request #144 from c-jimenez/fix/getlog_response
[messages] Fix filename field of GetLogResponse message
2 parents a39118f + dab64b5 commit 959edad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/messages/GetLog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ bool GetLogConfConverter::fromJson(const rapidjson::Value& json, GetLogConf& dat
8484
(void)error_code;
8585
(void)error_message;
8686
data.status = LogStatusEnumTypeHelper.fromString(json["status"].GetString());
87-
extract(json, "fileName", data.fileName);
87+
extract(json, "filename", data.fileName);
8888
return true;
8989
}
9090

9191
/** @copydoc bool IMessageConverter<DataType>::toJson(DataType&, rapidjson::Document&, std::string&, std::string&) */
9292
bool GetLogConfConverter::toJson(const GetLogConf& data, rapidjson::Document& json)
9393
{
9494
fill(json, "status", LogStatusEnumTypeHelper.toString(data.status));
95-
fill(json, "fileName", data.fileName);
95+
fill(json, "filename", data.fileName);
9696
return true;
9797
}
9898

0 commit comments

Comments
 (0)