remove outdated packages from megalodon

This commit is contained in:
Hazelnoot 2025-04-29 16:07:56 -04:00
parent 9c301fa5aa
commit dc9106dfb3
10 changed files with 9 additions and 683 deletions

View file

@ -156,7 +156,7 @@ export class OAuth2ProviderService {
const secret = String(body.client_secret);
const code = body.code ? String(body.code) : '';
// TODO fetch the access token directly
// TODO fetch the access token directly, then remove all oauth code from megalodon
const client = this.mastodonClientService.getClient(request);
const atData = await client.fetchAccessToken(clientId, secret, code);