diff --git a/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/twin/DirectMethodResponse.java b/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/twin/DirectMethodResponse.java index 2a090796da..4d468ec4ef 100644 --- a/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/twin/DirectMethodResponse.java +++ b/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/twin/DirectMethodResponse.java @@ -31,7 +31,7 @@ public Object getPayload() return payload; } - public void setPayload(String payload) + public void setPayload(Object payload) { this.payload = payload; }