diff options
| author | 饺子w (Yumechi) <35571479+eternal-flame-AD@users.noreply.github.com> | 2024-11-18 19:29:42 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 10:29:42 +0900 |
| commit | e800c0f85ad968dc1505463cc5e4cf0c8ea862fb (patch) | |
| tree | 63a160205ad7c2982959d09ad7c9e74ac21116ee /packages/backend/src/core/AnnouncementService.ts | |
| parent | fix(frontend): TypeScriptの型チェック対象ファイルを限定して... (diff) | |
| download | sharkey-e800c0f85ad968dc1505463cc5e4cf0c8ea862fb.tar.gz sharkey-e800c0f85ad968dc1505463cc5e4cf0c8ea862fb.tar.bz2 sharkey-e800c0f85ad968dc1505463cc5e4cf0c8ea862fb.zip | |
fix(backend): お知らせ作成時に画像URL入力欄を空欄に変更できないのを修正 (#14990)
* fix(backend): アナウンスメントを作成ときに画像URLを後悔できないのを修正
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* Update CHANGELOG.md
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
---------
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
Diffstat (limited to 'packages/backend/src/core/AnnouncementService.ts')
| -rw-r--r-- | packages/backend/src/core/AnnouncementService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/AnnouncementService.ts b/packages/backend/src/core/AnnouncementService.ts index d4fcf19439..a9f6731977 100644 --- a/packages/backend/src/core/AnnouncementService.ts +++ b/packages/backend/src/core/AnnouncementService.ts @@ -72,7 +72,7 @@ export class AnnouncementService { updatedAt: null, title: values.title, text: values.text, - imageUrl: values.imageUrl, + imageUrl: values.imageUrl || null, icon: values.icon, display: values.display, forExistingUsers: values.forExistingUsers, |