mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Fixed some missing merge stuff
This commit is contained in:
parent
848885f103
commit
912dfa8a80
@ -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; }
|
|
||||||
}
|
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user