sharkey/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-09 05:02:52 +09:00
export default async (actor: IRemoteUser, activity: IObject): Promise<void> => {
await performActivity(actor, activity);
2018-04-09 05:02:52 +09:00
};