From 574e3b0bfd33ac101c00556bb948861ae9b64e72 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Apr 2018 19:26:17 +0900 Subject: [PATCH] Fix type annotation --- src/remote/activitypub/act/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote/activitypub/act/index.ts b/src/remote/activitypub/act/index.ts index f58505b0a..c1d64b7c7 100644 --- a/src/remote/activitypub/act/index.ts +++ b/src/remote/activitypub/act/index.ts @@ -3,9 +3,9 @@ import performDeleteActivity from './delete'; import follow from './follow'; import undo from './undo'; import { IObject } from '../type'; -import { IUser } from '../../../models/user'; +import { IRemoteUser } from '../../../models/user'; -export default async (actor: IUser, activity: IObject): Promise => { +export default async (actor: IRemoteUser, activity: IObject): Promise => { switch (activity.type) { case 'Create': await create(actor, activity);