forked from FoundKeyGang/FoundKey
refactor: remove default export for perform
This commit is contained in:
parent
3ef1a4b0f9
commit
768d9bbdfb
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
import { URL } from 'node:url';
|
||||
import Bull from 'bull';
|
||||
import httpSignature from '@peertube/http-signature';
|
||||
import perform from '@/remote/activitypub/perform.js';
|
||||
import { perform } from '@/remote/activitypub/perform.js';
|
||||
import Logger from '@/services/logger.js';
|
||||
import { registerOrFetchInstanceDoc } from '@/services/register-or-fetch-instance-doc.js';
|
||||
import { Instances } from '@/models/index.js';
|
||||
|
|
|
@ -5,7 +5,7 @@ import { IObject } from './type.js';
|
|||
import { performActivity } from './kernel/index.js';
|
||||
import { updatePerson } from './models/person.js';
|
||||
|
||||
export default async (actor: CacheableRemoteUser, activity: IObject, resolver: Resolver): Promise<void> => {
|
||||
export async function perform(actor: CacheableRemoteUser, activity: IObject, resolver: Resolver): Promise<void> {
|
||||
await performActivity(actor, activity, resolver);
|
||||
|
||||
// And while I'm at it, I'll update the remote user information if it's out of date.
|
||||
|
|
Loading…
Reference in a new issue