Skip to content

Commit

Permalink
fix: Attachment file path (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha authored Sep 24, 2024
1 parent c50848b commit cee72ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion with-attachments/src/pages/api/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const send = async (req: NextApiRequest, res: NextApiResponse) => {
html: '<p>Thanks for the payment</p>',
attachments: [
{
path: 'https://resend.com/docs/sample/invoice.pdf',
path: 'https://resend.com/static/sample/invoice.pdf',
filename: 'sample-invoice.pdf',
},
],
Expand Down

0 comments on commit cee72ee

Please sign in to comment.