fix lints

This commit is contained in:
dakkar 2024-11-22 13:09:58 +00:00
parent d70024b4b9
commit 56563d8dc4
6 changed files with 8 additions and 5 deletions

View file

@ -814,7 +814,7 @@ export class ActivityPubServerService {
});
fastify.get<{ Params: { acct: string; } }>('/@:acct', { constraints: { apOrHtml: 'ap' } }, async (request, reply) => {
if (await this.shouldRefuseGetRequest(request, reply, request.params.user)) return;
if (await this.shouldRefuseGetRequest(request, reply, request.params.acct)) return;
vary(reply.raw, 'Accept');