We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b07e4ad + 8b5fde1 commit ee005c0Copy full SHA for ee005c0
StabilityMatrix.Avalonia/Services/AccountsService.cs
@@ -133,14 +133,14 @@ public async Task LykosAccountV2LogoutAsync()
133
public async Task LykosPatreonOAuthLogoutAsync()
134
{
135
var secrets = await secretsManager.SafeLoadAsync();
136
- if (secrets.LykosAccount is null)
+ if (secrets.LykosAccountV2 is null)
137
138
throw new InvalidOperationException(
139
"Lykos account must be connected in to manage OAuth connections"
140
);
141
}
142
143
- await lykosAuthApi.DeletePatreonOAuth();
+ await lykosAuthApiV2.ApiV2OauthPatreon();
144
145
await RefreshLykosAsync(secrets);
146
0 commit comments