Small changes

This commit is contained in:
Max 2023-07-02 21:45:52 +02:00
parent 945a0683d6
commit abc45c9543

View File

@ -116,7 +116,7 @@ namespace SharpRss.Services
} }
private async Task SetupTestCategoriesAndFeedsAsync() private async Task SetupTestCategoriesAndFeedsAsync()
{ {
/*Log.Information("Setting up test data..."); Log.Information("Setting up test data...");
try try
{ {
CategoryModel? newsCategory = await CreateCategoryAsync(new CategoryModel() { Name = "News", Icon = "<g><rect fill=\"none\" height=\"24\" width=\"24\"/></g><g><path d=\"M22,3l-1.67,1.67L18.67,3L17,4.67L15.33,3l-1.66,1.67L12,3l-1.67,1.67L8.67,3L7,4.67L5.33,3L3.67,4.67L2,3v16 c0,1.1,0.9,2,2,2l16,0c1.1,0,2-0.9,2-2V3z M11,19H4v-6h7V19z M20,19h-7v-2h7V19z M20,15h-7v-2h7V15z M20,11H4V8h16V11z\"/></g>"}); CategoryModel? newsCategory = await CreateCategoryAsync(new CategoryModel() { Name = "News", Icon = "<g><rect fill=\"none\" height=\"24\" width=\"24\"/></g><g><path d=\"M22,3l-1.67,1.67L18.67,3L17,4.67L15.33,3l-1.66,1.67L12,3l-1.67,1.67L8.67,3L7,4.67L5.33,3L3.67,4.67L2,3v16 c0,1.1,0.9,2,2,2l16,0c1.1,0,2-0.9,2-2V3z M11,19H4v-6h7V19z M20,19h-7v-2h7V19z M20,15h-7v-2h7V15z M20,11H4V8h16V11z\"/></g>"});
@ -156,7 +156,7 @@ namespace SharpRss.Services
catch (Exception e) catch (Exception e)
{ {
Log.Error(e, "Exception!"); Log.Error(e, "Exception!");
}*/ }
} }
} }
} }