log type of unsupported featured object
This commit is contained in:
parent
ae7b90de6c
commit
2b9c3f0d5c
|
@ -273,7 +273,7 @@ export class ApInboxService {
|
||||||
if (activity.target === actor.featured) {
|
if (activity.target === actor.featured) {
|
||||||
const activityObject = fromTuple(activity.object);
|
const activityObject = fromTuple(activity.object);
|
||||||
if (isApObject(activityObject) && !isPost(activityObject)) {
|
if (isApObject(activityObject) && !isPost(activityObject)) {
|
||||||
return 'unsupported featured object type';
|
return `unsupported featured object type: ${getApType(activityObject)}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const note = await this.apNoteService.resolveNote(activityObject, { resolver });
|
const note = await this.apNoteService.resolveNote(activityObject, { resolver });
|
||||||
|
@ -647,7 +647,7 @@ export class ApInboxService {
|
||||||
if (activity.target === actor.featured) {
|
if (activity.target === actor.featured) {
|
||||||
const activityObject = fromTuple(activity.object);
|
const activityObject = fromTuple(activity.object);
|
||||||
if (isApObject(activityObject) && !isPost(activityObject)) {
|
if (isApObject(activityObject) && !isPost(activityObject)) {
|
||||||
return 'unsupported featured object type';
|
return `unsupported featured object type: ${getApType(activityObject)}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const note = await this.apNoteService.resolveNote(activityObject, { resolver });
|
const note = await this.apNoteService.resolveNote(activityObject, { resolver });
|
||||||
|
|
Loading…
Reference in New Issue