summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/NoteEditService.ts
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-01-28 00:29:27 -0500
committerHazelnoot <acomputerdog@gmail.com>2025-02-16 19:15:22 -0500
commitfeeaf26641e9c5c8343d4ae3a157792495ed9d6c (patch)
tree81150a05fcbb83126d9466e271bd942a7417cc58 /packages/backend/src/core/NoteEditService.ts
parentmerge: Merge upstream 2025.2.0 (!886) (diff)
downloadsharkey-feeaf26641e9c5c8343d4ae3a157792495ed9d6c.tar.gz
sharkey-feeaf26641e9c5c8343d4ae3a157792495ed9d6c.tar.bz2
sharkey-feeaf26641e9c5c8343d4ae3a157792495ed9d6c.zip
fix lint errors in NoteCreateService & NoteEditService
Diffstat (limited to 'packages/backend/src/core/NoteEditService.ts')
-rw-r--r--packages/backend/src/core/NoteEditService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/NoteEditService.ts b/packages/backend/src/core/NoteEditService.ts
index 453ad5d9d0..18912181d7 100644
--- a/packages/backend/src/core/NoteEditService.ts
+++ b/packages/backend/src/core/NoteEditService.ts
@@ -309,7 +309,7 @@ export class NoteEditService implements OnApplicationShutdown {
if (this.isRenote(data)) {
if (data.renote.id === oldnote.id) {
- throw new Error("A note can't renote itself");
+ throw new Error('A note can\'t renote itself');
}
switch (data.renote.visibility) {