From e32b03a048b4a55d823473a25f4ce0ca32235b59 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 27 Sep 2023 14:09:48 +0200 Subject: [PATCH] upd: return empty history --- packages/backend/src/server/api/mastodon/endpoints/status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/mastodon/endpoints/status.ts b/packages/backend/src/server/api/mastodon/endpoints/status.ts index d4c6bb26e..07fdb4963 100644 --- a/packages/backend/src/server/api/mastodon/endpoints/status.ts +++ b/packages/backend/src/server/api/mastodon/endpoints/status.ts @@ -57,7 +57,7 @@ export class ApiStatusMastodon { public async getHistory() { this.fastify.get<{ Params: { id: string } }>('/v1/statuses/:id/history', async (_request, reply) => { try { - reply.code(401).send({ message: 'Not Implemented' }); + reply.send([]); } catch (e: any) { console.error(e); reply.code(401).send(e.response.data);