From 7d61f8a3d9ba901de71aac89764596ad37d1a2b9 Mon Sep 17 00:00:00 2001 From: mattyatea Date: Wed, 24 Apr 2024 03:41:45 +0900 Subject: [PATCH] aaa --- packages/backend/src/core/NoteCreateService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index 7c09988837..9a7ca13724 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -308,7 +308,7 @@ export class NoteCreateService implements OnApplicationShutdown { body: JSON.stringify(data_disc), }); } - throw new NoteCreateService.ContainsProhibitedWordsError(); + throw new IdentifiableError('689ee33f-f97c-479a-ac49-1b9f8140af99', 'Note contains prohibited words'); } const inSilencedInstance = this.utilityService.isSilencedHost(meta.silencedHosts, user.host);