fix bug for missing attachments array
Merge pull request #1 from whiteout-io/dev/fix-missing-array

fix bug for missing attachments array