allow anonymous activities (resolves #819)

This commit is contained in:
Hazelnoot 2024-11-26 09:05:04 -05:00
parent e38e408b97
commit 1e99782666

View file

@ -194,7 +194,8 @@ export class InboxProcessorService implements OnApplicationShutdown {
throw new Bull.UnrecoverableError(`skip: signerHost(${signerHost}) !== activity.id host(${activityIdHost}`);
}
} 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