This commit is contained in:
mattyatea 2024-04-24 03:41:45 +09:00
parent f51a4b51b3
commit 7d61f8a3d9

View file

@ -308,7 +308,7 @@ export class NoteCreateService implements OnApplicationShutdown {
body: JSON.stringify(data_disc), 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); const inSilencedInstance = this.utilityService.isSilencedHost(meta.silencedHosts, user.host);