You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SendGrid will throw an error if you use a 'contentId' property on an attachment object (content, type, disposition, etc.). To make it work, you have to use 'content_id'. This is especially unfortunate because the typescript definition file specifies 'contentId', so I have to override it with 'any'.
I looked at your source code. the attachment.js class looks fine, which means the problem is higher up somewhere, perhaps.
Issue Summary
SendGrid will throw an error if you use a 'contentId' property on an attachment object (content, type, disposition, etc.). To make it work, you have to use 'content_id'. This is especially unfortunate because the typescript definition file specifies 'contentId', so I have to override it with 'any'.
I looked at your source code. the attachment.js class looks fine, which means the problem is higher up somewhere, perhaps.
Steps to Reproduce
Code Snippet
Exception/Log
Technical details:
The text was updated successfully, but these errors were encountered: