mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Revert a few changes that broke the build
This commit is contained in:
parent
b84bfe2364
commit
37a5b7ce28
@ -14,10 +14,10 @@ namespace Wabbajack.CLI.Verbs;
|
||||
|
||||
public class SetNexusApiKey
|
||||
{
|
||||
private readonly EncryptedJsonTokenProvider<NexusApiState> _tokenProvider;
|
||||
private readonly EncryptedJsonTokenProvider<NexusOAuthState> _tokenProvider;
|
||||
private readonly ILogger<SetNexusApiKey> _logger;
|
||||
|
||||
public SetNexusApiKey(EncryptedJsonTokenProvider<NexusApiState> tokenProvider, ILogger<SetNexusApiKey> logger)
|
||||
public SetNexusApiKey(EncryptedJsonTokenProvider<NexusOAuthState> tokenProvider, ILogger<SetNexusApiKey> 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;
|
||||
}
|
||||
|
@ -8,13 +8,12 @@
|
||||
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
|
||||
<Version>$(VERSION)</Version>
|
||||
<AssemblyName>wabbajack-cli</AssemblyName>
|
||||
<PublishTrimmed>false</PublishTrimmed>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<TimeMode>linked</TimeMode>
|
||||
<NoWarn>CS8600</NoWarn>
|
||||
<NoWarn>CS8601</NoWarn>
|
||||
<NoWarn>CS8618</NoWarn>
|
||||
<JsonSerializerIsReflectionEnabledByDefault>true</JsonSerializerIsReflectionEnabledByDefault>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user