bug fix: update to method addAttachmentToTask

small bug fix on array key
Merge pull request #28 from mnunes01/patch-3

bug fix: update to method addAttachmentToTask