mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-29 18:09:05 +01:00
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/776 Closes #819 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
commit
ebb6ac195f
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ export class InboxProcessorService implements OnApplicationShutdown {
|
||||||
throw new Bull.UnrecoverableError(`skip: signerHost(${signerHost}) !== activity.id host(${activityIdHost}`);
|
throw new Bull.UnrecoverableError(`skip: signerHost(${signerHost}) !== activity.id host(${activityIdHost}`);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new Bull.UnrecoverableError('skip: activity id is not a string');
|
// Activity ID should only be string or undefined.
|
||||||
|
delete activity.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update stats
|
// Update stats
|
||||||
|
|
Loading…
Reference in a new issue