Skip to content

Commit

Permalink
Removed unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
papafe committed Aug 30, 2023
1 parent b3b8f4f commit 2b878f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Tools/DeployApps/BaasClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -536,11 +536,6 @@ private async Task<BaasApp[]> GetApps()
{
var name = doc["name"].AsString;
if (!name.EndsWith(_appSuffix)) //Don't we check this in the Where?
{
return null;
}
var appName = name[..^_appSuffix.Length];
return new BaasApp(doc["_id"].AsString, doc["client_app_id"].AsString, appName);
})
Expand Down

0 comments on commit 2b878f3

Please sign in to comment.