mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:33:08 +02:00
Fix type annotation
This commit is contained in:
parent
0ecbafe5eb
commit
574e3b0bfd
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…
Reference in a new issue