diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-07-12 22:02:38 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-07-12 22:02:38 -0500 |
| commit | e49e586955cb5005b336f87a68c9d538972b1533 (patch) | |
| tree | 780d69689435ae3cc1f50f2bbdfd2b529831677b /src/slskd/Application/Management/API/Controllers/SessionController.cs | |
| parent | 99954b32edd7fb6e4edc69557649758360c03647 (diff) | |
| download | slskd-e49e586955cb5005b336f87a68c9d538972b1533.tar.gz | |
rename Configuration to Options
Diffstat (limited to 'src/slskd/Application/Management/API/Controllers/SessionController.cs')
| -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 1721f3f2..09a95c24 100644 --- a/src/slskd/Application/Management/API/Controllers/SessionController.cs +++ b/src/slskd/Application/Management/API/Controllers/SessionController.cs @@ -37,7 +37,7 @@ namespace slskd.Management.API public class SessionController : ControllerBase { public SessionController( - Microsoft.Extensions.Options.IOptionsSnapshot<Configuration> optionsSnapshot, + Microsoft.Extensions.Options.IOptionsSnapshot<Options> optionsSnapshot, SymmetricSecurityKey jwtSigningKey) { Options = optionsSnapshot.Value; @@ -45,7 +45,7 @@ namespace slskd.Management.API } private SymmetricSecurityKey JwtSigningKey { get; set; } - private Configuration Options { get; set; } + private Options Options { get; set; } /// <summary> /// Checks whether the provided authentication is valid. |
