fix(mail.service): use sendgrid api instead of nodemailer for better deliverability

This commit is contained in:
Amruth Pillai
2022-03-08 07:46:06 +01:00
parent e96b090904
commit 9df12194bf
11 changed files with 105 additions and 340 deletions

View File

@ -2,7 +2,7 @@ import { HttpException, HttpStatus, Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { JwtService } from '@nestjs/jwt';
import { SchedulerRegistry } from '@nestjs/schedule';
import * as bcrypt from 'bcrypt';
import bcrypt from 'bcrypt';
import { google } from 'googleapis';
import { PostgresErrorCode } from '@/database/errorCodes.enum';