Fixed some missing merge stuff

This commit is contained in:
Joseph Milazzo 2022-04-08 08:26:22 -05:00
parent 848885f103
commit 912dfa8a80
2 changed files with 0 additions and 13 deletions

View File

@ -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; }
}

View File

@ -19,7 +19,6 @@ using Hangfire;
using Hangfire.MemoryStorage; using Hangfire.MemoryStorage;
using Kavita.Common; using Kavita.Common;
using Kavita.Common.EnvironmentInfo; using Kavita.Common.EnvironmentInfo;
using MediatR;
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
@ -132,8 +131,6 @@ namespace API
// Add IHostedService for startup tasks // Add IHostedService for startup tasks
// Any services that should be bootstrapped go here // Any services that should be bootstrapped go here
services.AddHostedService<StartupTasksHostedService>(); services.AddHostedService<StartupTasksHostedService>();
services.AddMediatR(typeof(Startup));
} }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.