Skip to content

Commit a14dd4e

Browse files
Return nothing on no matched email
1 parent c4314d6 commit a14dd4e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

source/GitHubApp/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dotnetRunMessages": true,
1515
"launchBrowser": true,
1616
"launchUrl": "swagger",
17-
"applicationUrl": "https://localhost:7031;http://localhost:5283",
17+
"applicationUrl": "http://localhost:5283",
1818
"environmentVariables": {
1919
"ASPNETCORE_ENVIRONMENT": "Development"
2020
}

source/Gttsb.Core/EmailToCloudIdConverter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public string ToId(string email)
3737
return $"{emailPrepend}{emailWithReplaceableItems}{replaceValue}";
3838
}
3939

40-
return $"{emailPrepend}{emailWithReplaceableItems}{defaultEmailReplace}";
40+
// TODO: this will fail and it should fail. Replace this will actual failure message...
41+
return "";
4142
}
4243
}
4344
}

0 commit comments

Comments
 (0)