feat: agencies

This commit is contained in:
Nevo David 2024-08-23 09:49:15 +07:00
parent 22998b83ce
commit b5ba3e7fb7
2 changed files with 3 additions and 2 deletions

View File

@ -65,6 +65,7 @@ export class AgenciesRepository {
include: {
logo: true,
niches: true,
user: true,
},
});
}

View File

@ -36,7 +36,7 @@ export class AgenciesService {
if (action === 'approve') {
await this._emailService.sendEmail(
email,
agency?.user?.email!,
'Your Agency has been approved and added to Postiz 🚀',
`
<html lang="en">
@ -60,7 +60,7 @@ export class AgenciesService {
}
await this._emailService.sendEmail(
email,
agency?.user?.email!,
'Your Agency has been declined 😔',
`
<html lang="en">