From 5131a3414d55ee72cedfc138eefc13b20ad1d907 Mon Sep 17 00:00:00 2001 From: Marie Date: Sat, 25 Nov 2023 21:02:41 +0100 Subject: [PATCH] fix: correct acctUri --- packages/backend/src/server/api/mastodon/converters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/mastodon/converters.ts b/packages/backend/src/server/api/mastodon/converters.ts index ac211acc2..9571e14cb 100644 --- a/packages/backend/src/server/api/mastodon/converters.ts +++ b/packages/backend/src/server/api/mastodon/converters.ts @@ -133,7 +133,7 @@ export class MastoConverters { const fqn = `${user.username}@${user.host ?? this.config.hostname}`; let acct = user.username; let acctUrl = `https://${user.host || this.config.host}/@${user.username}`; - const acctUri = `https://${this.config.host}/@${user.id}`; + const acctUri = `https://${this.config.host}/users/${user.id}`; if (user.host) { acct = `${user.username}@${user.host}`; acctUrl = `https://${user.host}/@${user.username}`;