fix: convert async function to sync function

This commit is contained in:
Elias Schneider
2022-12-02 14:43:52 +01:00
parent b649d8bf8e
commit 1dbfe0bbc9
3 changed files with 8 additions and 7 deletions

View File

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