mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-29 18:09:05 +01:00
log type of unsupported featured object
This commit is contained in:
parent
ae7b90de6c
commit
2b9c3f0d5c
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue