diff --git a/Wabbajack.CLI/Verbs/SetNexusApiKey.cs b/Wabbajack.CLI/Verbs/SetNexusApiKey.cs index 95775d7f..a442c4d1 100644 --- a/Wabbajack.CLI/Verbs/SetNexusApiKey.cs +++ b/Wabbajack.CLI/Verbs/SetNexusApiKey.cs @@ -14,10 +14,10 @@ namespace Wabbajack.CLI.Verbs; public class SetNexusApiKey { - private readonly EncryptedJsonTokenProvider _tokenProvider; + private readonly EncryptedJsonTokenProvider _tokenProvider; private readonly ILogger _logger; - public SetNexusApiKey(EncryptedJsonTokenProvider tokenProvider, ILogger logger) + public SetNexusApiKey(EncryptedJsonTokenProvider tokenProvider, ILogger logger) { _tokenProvider = tokenProvider; _logger = logger; @@ -38,7 +38,7 @@ public class SetNexusApiKey } else { - await _tokenProvider.SetToken(new NexusApiState { ApiKey = key }); + await _tokenProvider.SetToken(new NexusOAuthState { ApiKey = key }); _logger.LogInformation("Set Nexus API Key to {key}", key); return 0; } diff --git a/Wabbajack.CLI/Wabbajack.CLI.csproj b/Wabbajack.CLI/Wabbajack.CLI.csproj index f3af5d29..7fc4af60 100644 --- a/Wabbajack.CLI/Wabbajack.CLI.csproj +++ b/Wabbajack.CLI/Wabbajack.CLI.csproj @@ -8,13 +8,12 @@ GPL-3.0-or-later $(VERSION) wabbajack-cli - false + true linked CS8600 CS8601 CS8618 true - net8.0