Sharkey/src/remote/activitypub/perform.ts

8 lines
229 B
TypeScript
Raw Normal View History

2018-04-08 23:02:52 +03:00
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);
};