summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/perform.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-08-19 18:33:41 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-08-19 18:33:41 +0900
commitb9cb6d1c10729869cbb57ce50c8174ad7474db75 (patch)
tree0d522e7e6e589aaa6b6ddfcf4e12947c6bed0501 /src/remote/activitypub/perform.ts
parentUpdate glossary.md (diff)
downloadsharkey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.gz
sharkey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.bz2
sharkey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.zip
refactor: refactoring imports
将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
Diffstat (limited to 'src/remote/activitypub/perform.ts')
-rw-r--r--src/remote/activitypub/perform.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/remote/activitypub/perform.ts b/src/remote/activitypub/perform.ts
index 12e72fdea5..3e18815586 100644
--- a/src/remote/activitypub/perform.ts
+++ b/src/remote/activitypub/perform.ts
@@ -1,6 +1,6 @@
-import { IObject } from './type';
-import { IRemoteUser } from '../../models/entities/user';
-import { performActivity } from './kernel';
+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);