Add queue types (#7504)
This commit is contained in:
parent
164959a0c5
commit
591a5c277c
18 changed files with 97 additions and 50 deletions
|
|
@ -10,7 +10,7 @@ import { fetchMeta } from '@/misc/fetch-meta';
|
|||
import { toPuny, extractDbHost } from '@/misc/convert-host';
|
||||
import { getApId } from '../../remote/activitypub/type';
|
||||
import { fetchInstanceMetadata } from '../../services/fetch-instance-metadata';
|
||||
import { InboxJobData } from '..';
|
||||
import { InboxJobData } from '../types';
|
||||
import DbResolver from '../../remote/activitypub/db-resolver';
|
||||
import { resolvePerson } from '../../remote/activitypub/models/person';
|
||||
import { LdSignature } from '../../remote/activitypub/misc/ld-signature';
|
||||
|
|
@ -23,7 +23,7 @@ export default async (job: Bull.Job<InboxJobData>): Promise<string> => {
|
|||
const activity = job.data.activity;
|
||||
|
||||
//#region Log
|
||||
const info = Object.assign({}, activity);
|
||||
const info = Object.assign({}, activity) as any;
|
||||
delete info['@context'];
|
||||
logger.debug(JSON.stringify(info, null, 2));
|
||||
//#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue