only allow notification if smtp server is setup.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-14 12:13:37 -07:00
parent 7122f4ac0d
commit 6e5cfde2cf
3 changed files with 20 additions and 2 deletions

View File

@@ -32,7 +32,8 @@ namespace CarCareTracker.External.Implementations
using (var db = new LiteDatabase(dbName))
{
var table = db.GetCollection<UserConfigData>(tableName);
return table.Delete(userId);
table.Delete(userId);
return true;
};
}
}