api/services: use user service on emails

Pedro Lucas Porcellis porcellis@eletrotupi.com 1 month ago 766a1ea0406afc664eb2ebc05cd2393aad8794a4
Parents: 23c0d37
2 file(s) changed
  • api/src/services/mail/sendPasswordReset.ts +1 -1
  • api/src/services/mail/welcome.ts +1 -1
api/src/services/mail/sendPasswordReset.ts
@@ -1,4 +1,4 @@
1 - import { findUserById } from '@app/models/user';
1 + import { findUserById } from '@app/services/user.service';
2 2 import { sendEmail } from '@app/lib/mail';
3 3
4 4 const email = (firstName: string, token: string) => {
api/src/services/mail/welcome.ts
@@ -1,4 +1,4 @@
1 - import { findUserById } from '@app/models/user';
1 + import { findUserById } from '@app/services/user.service';
2 2 import { sendEmail } from '@app/lib/mail';
3 3
4 4 const email = (firstName: string) => {