mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-14 02:24:15 +01:00
use more dbcontext factories or something idk
This commit is contained in:
parent
33d5f44754
commit
ac640c2f0c
4 changed files with 17 additions and 14 deletions
|
|
@ -17,11 +17,11 @@ namespace MareSynchronosAuthService.Controllers;
|
|||
public class JwtController : AuthControllerBase
|
||||
{
|
||||
public JwtController(ILogger<JwtController> logger,
|
||||
IHttpContextAccessor accessor, IDbContextFactory<MareDbContext> mareDbContext,
|
||||
IHttpContextAccessor accessor, IDbContextFactory<MareDbContext> mareDbContextFactory,
|
||||
SecretKeyAuthenticatorService secretKeyAuthenticatorService,
|
||||
IConfigurationService<AuthServiceConfiguration> configuration,
|
||||
IRedisDatabase redisDb, GeoIPService geoIPProvider)
|
||||
: base(logger, accessor, mareDbContext, secretKeyAuthenticatorService,
|
||||
: base(logger, accessor, mareDbContextFactory, secretKeyAuthenticatorService,
|
||||
configuration, redisDb, geoIPProvider)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue