refactor: remove type email

This commit is contained in:
Elias Schneider
2022-12-05 18:09:18 +01:00
parent b5c7b04fcb
commit e2527de976
6 changed files with 1 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ export class EmailService {
},
});
if (!this.config.get("emailRecepientsEnabled"))
if (!this.config.get("ENABLE_EMAIL_RECIPIENTS"))
throw new InternalServerErrorException("Email service disabled");
const shareUrl = `${this.config.get("APP_URL")}/share/${shareId}`;