From a14dd4e189c92f83d71997efa60ffa4b63b024c4 Mon Sep 17 00:00:00 2001 From: JoshuaTheMiller Date: Tue, 7 Feb 2023 19:58:17 -0600 Subject: [PATCH] Return nothing on no matched email --- source/GitHubApp/Properties/launchSettings.json | 2 +- source/Gttsb.Core/EmailToCloudIdConverter.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/GitHubApp/Properties/launchSettings.json b/source/GitHubApp/Properties/launchSettings.json index 1718e02..bc17288 100644 --- a/source/GitHubApp/Properties/launchSettings.json +++ b/source/GitHubApp/Properties/launchSettings.json @@ -14,7 +14,7 @@ "dotnetRunMessages": true, "launchBrowser": true, "launchUrl": "swagger", - "applicationUrl": "https://localhost:7031;http://localhost:5283", + "applicationUrl": "http://localhost:5283", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/source/Gttsb.Core/EmailToCloudIdConverter.cs b/source/Gttsb.Core/EmailToCloudIdConverter.cs index 5b5dd75..bded094 100644 --- a/source/Gttsb.Core/EmailToCloudIdConverter.cs +++ b/source/Gttsb.Core/EmailToCloudIdConverter.cs @@ -37,7 +37,8 @@ public string ToId(string email) return $"{emailPrepend}{emailWithReplaceableItems}{replaceValue}"; } - return $"{emailPrepend}{emailWithReplaceableItems}{defaultEmailReplace}"; + // TODO: this will fail and it should fail. Replace this will actual failure message... + return ""; } } }