upd: import status endpoint into service

This commit is contained in:
Mar0xy 2023-09-24 15:42:09 +02:00
parent 7640985332
commit 55e85fe1c1
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828

View File

@ -11,7 +11,7 @@ import type { Config } from '@/config.js';
import { getInstance } from './endpoints/meta.js'; import { getInstance } from './endpoints/meta.js';
import { MetaService } from '@/core/MetaService.js'; import { MetaService } from '@/core/MetaService.js';
import multer from 'fastify-multer'; 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)); const staticAssets = fileURLToPath(new URL('../../../../assets/', import.meta.url));
@ -747,6 +747,10 @@ export class MastodonApiServerService {
// DELETE Endpoints // DELETE Endpoints
TLEndpoint.deleteList(); TLEndpoint.deleteList();
TLEndpoint.rmListAccount(); TLEndpoint.rmListAccount();
//#endregion
//#region Status
//#endregion //#endregion
done(); done();
} }