mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix type annotation
This commit is contained in:
parent
aeae5aa9ff
commit
0c1337905a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue