diff options
| author | Julia Johannesen <julia@insertdomain.name> | 2024-11-14 20:28:50 -0500 |
|---|---|---|
| committer | Julia Johannesen <julia@insertdomain.name> | 2024-11-20 19:17:24 -0500 |
| commit | b9080da75dea7e9c5d38976814118a594be9e019 (patch) | |
| tree | 347faaf36f01b4da6bc869f45e6b34e0595db2ea /packages/backend/src | |
| parent | fix: primitive 17: note same-origin identifier validation can be bypassed by ... (diff) | |
| download | sharkey-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.ts | 5 |
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'; } } |