From 5da4850660bd7304da2c8a9c7f67b392608facb4 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 21 Mar 2019 17:30:37 -0400 Subject: [PATCH] Update AzureFunction.txt Removed Vincent's connection string and added in a placeholder. --- HOL/IOTHubPiHackathon/AzureFunction/AzureFunction.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HOL/IOTHubPiHackathon/AzureFunction/AzureFunction.txt b/HOL/IOTHubPiHackathon/AzureFunction/AzureFunction.txt index 014af5f..cd58fd1 100644 --- a/HOL/IOTHubPiHackathon/AzureFunction/AzureFunction.txt +++ b/HOL/IOTHubPiHackathon/AzureFunction/AzureFunction.txt @@ -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 = ""; 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); -} \ No newline at end of file +}