diff options
| author | Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> | 2024-07-15 14:58:48 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-15 14:58:48 +0900 |
| commit | ce39c3a2fbf9ab9efaff82fdbad84ac9f2311c6e (patch) | |
| tree | 8bc1dc6260db63dca4126852d358de46aefeef3d | |
| parent | enhance(backend): Load settings via environment variables (#14179) (diff) | |
| download | misskey-ce39c3a2fbf9ab9efaff82fdbad84ac9f2311c6e.tar.gz misskey-ce39c3a2fbf9ab9efaff82fdbad84ac9f2311c6e.tar.bz2 misskey-ce39c3a2fbf9ab9efaff82fdbad84ac9f2311c6e.zip | |
chore(backend): registed -> registered (#14213)
* chore(backend): registed -> registered
* Update CHANGELOG.md
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | packages/backend/src/core/activitypub/models/ApQuestionService.ts | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 14cae5d3de..d7b5979a21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,7 @@ - Fix: 一般ユーザーから見たユーザーのバッジの一覧に公開されていないものが含まれることがある問題を修正 (Cherry-picked from https://github.com/MisskeyIO/misskey/pull/652) - Fix: ユーザーのリアクション一覧でミュート/ブロックが機能していなかった問題を修正 +- Fix: エラーメッセージの誤字を修正 (#14213) ### Misskey.js - Feat: `/drive/files/create` のリクエストに対応(`multipart/form-data`に対応) diff --git a/packages/backend/src/core/activitypub/models/ApQuestionService.ts b/packages/backend/src/core/activitypub/models/ApQuestionService.ts index 4fae1e897b..73004d10b0 100644 --- a/packages/backend/src/core/activitypub/models/ApQuestionService.ts +++ b/packages/backend/src/core/activitypub/models/ApQuestionService.ts @@ -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 |