AP featured collectionの修正 / Collection Activityの対応 / typeの修正など (#5460)
* resolver type / fix updateFeatured * type ApObject * fix strange type * AP Activity * Collection Activityが失敗したらとりあえず無視
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Object } from './type';
|
||||
import { IObject } from './type';
|
||||
import { IRemoteUser } from '../../models/entities/user';
|
||||
import kernel from './kernel';
|
||||
import { performActivity } from './kernel';
|
||||
|
||||
export default async (actor: IRemoteUser, activity: Object): Promise<void> => {
|
||||
await kernel(actor, activity);
|
||||
export default async (actor: IRemoteUser, activity: IObject): Promise<void> => {
|
||||
await performActivity(actor, activity);
|
||||
};
|
||||
|
Reference in New Issue
Block a user