misskey/packages/backend/src/remote/activitypub/perform.ts

8 lines
264 B
TypeScript
Raw Normal View History

import { IObject } from './type';
import { IRemoteUser } from '@/models/entities/user';
import { performActivity } from './kernel/index';
2018-04-08 22:02:52 +02:00
export default async (actor: IRemoteUser, activity: IObject): Promise<void> => {
await performActivity(actor, activity);
2018-04-08 22:02:52 +02:00
};