allow anonymous activities (resolves #819)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user