mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 06:00:44 +01:00
upd: import status endpoint into service
This commit is contained in:
parent
7640985332
commit
55e85fe1c1
1 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue