monkeeShark/src/remote/activitypub/perform.ts

8 lines
273 B
TypeScript
Raw Normal View History

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