Skip to content

Commit

Permalink
fix/import issue sendgrid (#1200)
Browse files Browse the repository at this point in the history
> sgMail.setApiKey is not a function
  • Loading branch information
aalemayhu authored Jul 3, 2023
1 parent be627a7 commit b8bfd44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/EmailService/EmailService.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as sgMail from '@sendgrid/mail';
import sgMail = require('@sendgrid/mail');

import {
CONVERT_LINK_TEMPLATE,
CONVERT_TEMPLATE,
Expand Down

0 comments on commit b8bfd44

Please sign in to comment.