Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Fixed some missing merge stuff
Joseph Milazzo912dfa8a800d
diff --git a/API/DTOs/UpdateUserRole.cs b/API/DTOs/UpdateUserRole.csdeleted file mode 100644index a37076d2c..000000000--- a/API/DTOs/UpdateUserRole.cs+++ /dev/null@@ -1,10 +0,0 @@-using System.Collections.Generic;-using MediatR;--namespace API.DTOs;--public class UpdateUserRole : IRequest<bool>-{- public string Username { get; init; }- public IList<string> Roles { get; init; }-}diff --git a/API/Startup.cs b/API/Startup.csindex 2f8ac4d1a..e1dd28a81 100644--- a/API/Startup.cs+++ b/API/Startup.cs@@ -19,7 +19,6 @@ using Hangfire;using Hangfire.MemoryStorage;using Kavita.Common;using Kavita.Common.EnvironmentInfo;-using MediatR;using Microsoft.AspNetCore.Builder;using Microsoft.AspNetCore.Hosting;using Microsoft.AspNetCore.Http;@@ -132,8 +131,6 @@ namespace API// Add IHostedService for startup tasks// Any services that should be bootstrapped go hereservices.AddHostedService<StartupTasksHostedService>();-- services.AddMediatR(typeof(Startup));}// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.