Sharkey/src/remote/activitypub/perform.ts
2018-04-09 05:02:52 +09:00

7 lines
229 B
TypeScript

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