Skip to content

Commit ee005c0

Browse files
authored
Merge branch 'main' into backport/main/pr-993
2 parents b07e4ad + 8b5fde1 commit ee005c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StabilityMatrix.Avalonia/Services/AccountsService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ public async Task LykosAccountV2LogoutAsync()
133133
public async Task LykosPatreonOAuthLogoutAsync()
134134
{
135135
var secrets = await secretsManager.SafeLoadAsync();
136-
if (secrets.LykosAccount is null)
136+
if (secrets.LykosAccountV2 is null)
137137
{
138138
throw new InvalidOperationException(
139139
"Lykos account must be connected in to manage OAuth connections"
140140
);
141141
}
142142

143-
await lykosAuthApi.DeletePatreonOAuth();
143+
await lykosAuthApiV2.ApiV2OauthPatreon();
144144

145145
await RefreshLykosAsync(secrets);
146146
}

0 commit comments

Comments
 (0)