d071d18dd7
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
8 lines
273 B
TypeScript
8 lines
273 B
TypeScript
import { IObject } from './type.js';
|
|
import { IRemoteUser } from '@/models/entities/user.js';
|
|
import { performActivity } from './kernel/index.js';
|
|
|
|
export default async (actor: IRemoteUser, activity: IObject): Promise<void> => {
|
|
await performActivity(actor, activity);
|
|
};
|