mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
Fix type annotation
This commit is contained in:
parent
aeae5aa9ff
commit
0c1337905a
@ -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<void> => {
|
||||
export default async (actor: IRemoteUser, activity: IObject): Promise<void> => {
|
||||
switch (activity.type) {
|
||||
case 'Create':
|
||||
await create(actor, activity);
|
||||
|
Loading…
Reference in New Issue
Block a user