summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue
diff options
context:
space:
mode:
authorJulia Johannesen <julia@insertdomain.name>2024-11-20 20:24:59 -0500
committerJulia Johannesen <julia@insertdomain.name>2024-11-20 20:24:59 -0500
commit23c4aa25714af145098baa7edd74c1d217e51c1a (patch)
tree794d0d92168693221050a6d747d2bd9b605ebbf9 /packages/backend/src/queue
parentFix error in test function calls (diff)
downloadsharkey-23c4aa25714af145098baa7edd74c1d217e51c1a.tar.gz
sharkey-23c4aa25714af145098baa7edd74c1d217e51c1a.tar.bz2
sharkey-23c4aa25714af145098baa7edd74c1d217e51c1a.zip
Fix style error
Diffstat (limited to 'packages/backend/src/queue')
-rw-r--r--packages/backend/src/queue/processors/InboxProcessorService.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/backend/src/queue/processors/InboxProcessorService.ts b/packages/backend/src/queue/processors/InboxProcessorService.ts
index f453d7d1ae..102e835e24 100644
--- a/packages/backend/src/queue/processors/InboxProcessorService.ts
+++ b/packages/backend/src/queue/processors/InboxProcessorService.ts
@@ -192,8 +192,7 @@ export class InboxProcessorService implements OnApplicationShutdown {
if (signerHost !== 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');
}