We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b08d2 commit 668fe87Copy full SHA for 668fe87
Azure.Devices.DeviceClient/ProvisioningDeviceClient.cs
@@ -131,7 +131,7 @@ public DeviceRegistrationResult Register(ProvisioningRegistrationAdditionalData
131
string registration;
132
if ((data != null) && (!string.IsNullOrEmpty(data.JsonData)))
133
{
134
- registration = $"{{\"registrationId\":\"{_registrationId}\",\"payload\":\"{data.JsonData}\"}}";
+ registration = $"{{\"registrationId\":\"{_registrationId}\",\"payload\":{data.JsonData}}}";
135
}
136
else
137
0 commit comments