Skip to content

Commit da982b5

Browse files
committed
[changeavailability] Fix tojson() converter
1 parent b9f99f0 commit da982b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/messages/ChangeAvailability.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ bool ChangeAvailabilityReqConverter::fromJson(const rapidjson::Value& json,
5757
bool ChangeAvailabilityReqConverter::toJson(const ChangeAvailabilityReq& data, rapidjson::Document& json)
5858
{
5959
fill(json, "connectorId", data.connectorId);
60-
fill(json, "requestedMessage", AvailabilityTypeHelper.toString(data.type));
60+
fill(json, "type", AvailabilityTypeHelper.toString(data.type));
6161
return true;
6262
}
6363

0 commit comments

Comments
 (0)