paricafe/src/remote/activitypub/perform.ts
MeiMei e14509574d AP featured collectionの修正 / Collection Activityの対応 / typeの修正など (#5460)
* resolver type / fix updateFeatured

* type ApObject

* fix strange type

* AP Activity

* Collection Activityが失敗したらとりあえず無視
2019-09-27 04:58:28 +09:00

7 lines
262 B
TypeScript

import { IObject } from './type';
import { IRemoteUser } from '../../models/entities/user';
import { performActivity } from './kernel';
export default async (actor: IRemoteUser, activity: IObject): Promise<void> => {
await performActivity(actor, activity);
};