diff --git a/src/controller/InvokeInteraction.h b/src/controller/InvokeInteraction.h index d24ad57c64e777..856b8a64323db6 100644 --- a/src/controller/InvokeInteraction.h +++ b/src/controller/InvokeInteraction.h @@ -98,7 +98,7 @@ InvokeCommandRequest(Messaging::ExchangeManager * exchangeMgr, SessionHandle ses uint16_t timedInvokeTimeoutMs) { return InvokeCommandRequest(exchangeMgr, sessionHandle, endpointId, requestCommandData, onSuccessCb, onErrorCb, - timedInvokeTimeoutMs); + MakeOptional(timedInvokeTimeoutMs)); } template = 0>