Sharkey/src/remote/activitypub/perform.ts

8 lines
238 B
TypeScript

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