Update AzureFunction.txt
Removed Vincent's connection string and added in a placeholder.
This commit is contained in:
Родитель
dd416c5f99
Коммит
5da4850660
|
@ -29,7 +29,7 @@ static RegistryManager registryManager;
|
|||
|
||||
// The CONNECTION_STRING variable should be in the form: "HostName=handsonlab230c6.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=jXbEZiTfHOfG+rrlFw5CoM47I1TE1mpz/IgKyEu0K/A="
|
||||
|
||||
private const string CONNECTION_STRING = "HostName=iothub-eavee.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=ng5xal8ngtQhdzqj2FtJiTP91xmgQiI/JPQVBqIMArg=";
|
||||
private const string CONNECTION_STRING = "<ADD_CONNECTION_STRING_HERE>";
|
||||
|
||||
|
||||
public static async Task Run(EventData[] events, ILogger log)
|
||||
|
@ -169,4 +169,4 @@ public static async Task AddTag(Twin twin, string status)
|
|||
patch = string.Format(patch, status);
|
||||
|
||||
await registryManager.UpdateTwinAsync(twin.DeviceId, patch, twin.ETag);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче