We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9e2393 commit 3080f08Copy full SHA for 3080f08
src/app/CommandSender.h
@@ -409,8 +409,7 @@ class CommandSender final : public Messaging::ExchangeDelegate
409
CHIP_ERROR AddRequestData(const CommandPathParams & aCommandPath, const CommandDataT & aData)
410
{
411
AddRequestDataParameters addRequestDataParams;
412
- DataModel::EncodableType<CommandDataT> encoder(aData);
413
- return AddRequestData(aCommandPath, encoder, addRequestDataParams);
+ return AddRequestData(aCommandPath, aData, addRequestDataParams);
414
}
415
416
template <typename CommandDataT>
0 commit comments