mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 05:23:08 +02:00
wip
This commit is contained in:
parent
08beb45935
commit
536277122d
13 changed files with 7 additions and 0 deletions
7
src/remote/activitypub/perform.ts
Normal file
7
src/remote/activitypub/perform.ts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
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);
|
||||||
|
};
|
Loading…
Reference in a new issue