From 416cc4c048e77c82af97454f806a27341ddea285 Mon Sep 17 00:00:00 2001 From: Shamlia Shukkur Date: Thu, 23 Aug 2018 14:39:18 +0400 Subject: [PATCH] Updated reference to FaceAPIKey in IdentifyFaceAsync --- .../WoodgrovePortable/Services/FaceAPIService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WoodgroveBankEnhancedATMSecurity/WoodgrovePortable/Services/FaceAPIService.cs b/WoodgroveBankEnhancedATMSecurity/WoodgrovePortable/Services/FaceAPIService.cs index ba380ac..0e6490a 100644 --- a/WoodgroveBankEnhancedATMSecurity/WoodgrovePortable/Services/FaceAPIService.cs +++ b/WoodgroveBankEnhancedATMSecurity/WoodgrovePortable/Services/FaceAPIService.cs @@ -246,7 +246,7 @@ namespace WoodgrovePortable.Services using (var client = FaceClient()) { //Request Headers - client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", AppSettings.APIKEY); + client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", AppSettings.FaceAPIKey); //Request Url string uri = AppSettings.baseuri + "/identify";