diff options
Diffstat (limited to 'src/slskd/Application/Management/API')
| -rw-r--r-- | src/slskd/Application/Management/API/Controllers/SessionController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Application/Management/API/Controllers/SessionController.cs b/src/slskd/Application/Management/API/Controllers/SessionController.cs index 09a95c24..511643a6 100644 --- a/src/slskd/Application/Management/API/Controllers/SessionController.cs +++ b/src/slskd/Application/Management/API/Controllers/SessionController.cs @@ -37,10 +37,10 @@ namespace slskd.Management.API public class SessionController : ControllerBase { public SessionController( - Microsoft.Extensions.Options.IOptionsSnapshot<Options> optionsSnapshot, + Options optionsSnapshotAtStartup, SymmetricSecurityKey jwtSigningKey) { - Options = optionsSnapshot.Value; + Options = optionsSnapshotAtStartup; JwtSigningKey = jwtSigningKey; } |
