Merge branch 'develop' into mkjs-n
This commit is contained in:
commit
b4cfa412b0
8 changed files with 93 additions and 10 deletions
|
|
@ -21,7 +21,8 @@ export default class extends Endpoint<'admin/announcements/update'> {
|
|||
updatedAt: new Date(),
|
||||
title: ps.title,
|
||||
text: ps.text,
|
||||
imageUrl: ps.imageUrl,
|
||||
/* eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing -- 空の文字列の場合、nullを渡すようにするため */
|
||||
imageUrl: ps.imageUrl || null,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue