feat: agencies
This commit is contained in:
parent
22998b83ce
commit
b5ba3e7fb7
|
|
@ -65,6 +65,7 @@ export class AgenciesRepository {
|
|||
include: {
|
||||
logo: true,
|
||||
niches: true,
|
||||
user: true,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue