forked from mirror/misskey
Fix type annotation
This commit is contained in:
parent
0ecbafe5eb
commit
574e3b0bfd
@ -3,9 +3,9 @@ import performDeleteActivity from './delete';
|
|||||||
import follow from './follow';
|
import follow from './follow';
|
||||||
import undo from './undo';
|
import undo from './undo';
|
||||||
import { IObject } from '../type';
|
import { IObject } from '../type';
|
||||||
import { IUser } from '../../../models/user';
|
import { IRemoteUser } from '../../../models/user';
|
||||||
|
|
||||||
export default async (actor: IUser, activity: IObject): Promise<void> => {
|
export default async (actor: IRemoteUser, activity: IObject): Promise<void> => {
|
||||||
switch (activity.type) {
|
switch (activity.type) {
|
||||||
case 'Create':
|
case 'Create':
|
||||||
await create(actor, activity);
|
await create(actor, activity);
|
||||||
|
Loading…
Reference in New Issue
Block a user