chore(backend): registed -> registered (#14213)

* chore(backend): registed -> registered

* Update CHANGELOG.md
This commit is contained in:
Kisaragi 2024-07-15 14:58:48 +09:00 committed by GitHub
parent 1b84760c19
commit ce39c3a2fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -74,10 +74,10 @@ export class ApQuestionService {
//#region このサーバーに既に登録されているか
const note = await this.notesRepository.findOneBy({ uri });
if (note == null) throw new Error('Question is not registed');
if (note == null) throw new Error('Question is not registered');
const poll = await this.pollsRepository.findOneBy({ noteId: note.id });
if (poll == null) throw new Error('Question is not registed');
if (poll == null) throw new Error('Question is not registered');
//#endregion
// resolve new Question object