summaryrefslogtreecommitdiff
path: root/packages/backend/src
diff options
context:
space:
mode:
authorJulia Johannesen <julia@insertdomain.name>2024-11-14 20:28:50 -0500
committerJulia Johannesen <julia@insertdomain.name>2024-11-20 19:17:24 -0500
commitb9080da75dea7e9c5d38976814118a594be9e019 (patch)
tree347faaf36f01b4da6bc869f45e6b34e0595db2ea /packages/backend/src
parentfix: primitive 17: note same-origin identifier validation can be bypassed by ... (diff)
downloadsharkey-b9080da75dea7e9c5d38976814118a594be9e019.tar.gz
sharkey-b9080da75dea7e9c5d38976814118a594be9e019.tar.bz2
sharkey-b9080da75dea7e9c5d38976814118a594be9e019.zip
fix: code style for primitive 17
Diffstat (limited to 'packages/backend/src')
-rw-r--r--packages/backend/src/core/activitypub/ApInboxService.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/backend/src/core/activitypub/ApInboxService.ts b/packages/backend/src/core/activitypub/ApInboxService.ts
index b5a97d34c4..42c2007799 100644
--- a/packages/backend/src/core/activitypub/ApInboxService.ts
+++ b/packages/backend/src/core/activitypub/ApInboxService.ts
@@ -425,9 +425,8 @@ export class ApInboxService {
if (this.utilityService.extractDbHost(actor.uri) !== this.utilityService.extractDbHost(note.id)) {
return 'skip: host in actor.uri !== note.id';
}
- }
- else {
- return 'skip: note.id is not a string'
+ } else {
+ return 'skip: note.id is not a string';
}
}