This commit is contained in:
momoirodouhu 2024-11-06 15:25:03 +00:00
parent 4ca5715945
commit 65223a28bd
No known key found for this signature in database
GPG Key ID: 6D6069FB91D619C0
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ export class ActivityPubServerService {
fastify.get<{ Params: { acct: string; } }>('/@:acct', { constraints: { apOrHtml: 'ap' } }, async (request, reply) => { fastify.get<{ Params: { acct: string; } }>('/@:acct', { constraints: { apOrHtml: 'ap' } }, async (request, reply) => {
vary(reply.raw, 'Accept'); vary(reply.raw, 'Accept');
const acct = Acct.parse(request.params.acct) const acct = Acct.parse(request.params.acct);
const user = await this.usersRepository.findOneBy({ const user = await this.usersRepository.findOneBy({
usernameLower: acct.username, usernameLower: acct.username,