From 55e85fe1c140a266ecf4c2df96177986404ca653 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sun, 24 Sep 2023 15:42:09 +0200 Subject: [PATCH] upd: import status endpoint into service --- .../src/server/api/mastodon/MastodonApiServerService.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts b/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts index b3c4f77d1c..eb2b37fdcc 100644 --- a/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts +++ b/packages/backend/src/server/api/mastodon/MastodonApiServerService.ts @@ -11,7 +11,7 @@ import type { Config } from '@/config.js'; import { getInstance } from './endpoints/meta.js'; import { MetaService } from '@/core/MetaService.js'; import multer from 'fastify-multer'; -import { apiAuthMastodon, apiAccountMastodon, apiFilterMastodon, apiNotifyMastodon, apiSearchMastodon, apiTimelineMastodon } from './endpoints.js'; +import { apiAuthMastodon, apiAccountMastodon, apiFilterMastodon, apiNotifyMastodon, apiSearchMastodon, apiTimelineMastodon, apiStatusMastodon } from './endpoints.js'; const staticAssets = fileURLToPath(new URL('../../../../assets/', import.meta.url)); @@ -747,6 +747,10 @@ export class MastodonApiServerService { // DELETE Endpoints TLEndpoint.deleteList(); TLEndpoint.rmListAccount(); + //#endregion + + //#region Status + //#endregion done(); }