Set empty array instead of null to mediaIds property of posts

This commit is contained in:
Akihiko Odaki 2018-03-31 19:45:56 +09:00
parent 4e37ee541a
commit 8c41432907
10 changed files with 11 additions and 10 deletions

View file

@ -33,8 +33,8 @@ props:
type: "id(DriveFile)[]"
optional: true
desc:
ja: "添付されているメディアのID"
en: "The IDs of the attached media"
ja: "添付されているメディアのID (なければレスポンスでは空配列)"
en: "The IDs of the attached media (empty array for response if no media is attached)"
- name: "media"
type: "entity(DriveFile)[]"
optional: true