Skip to content

Commit 9fc4b64

Browse files
authored
Merge pull request #277 from dump-hr/investigate-email-error
add await
2 parents 8d31288 + fc8c0de commit 9fc4b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/src/intern/intern.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class InternService {
258258
fullGeneralText += `\n\n${designFormAdditionalText}`;
259259

260260
try {
261-
const postmarkResponse = this.postmark.sendEmail({
261+
const postmarkResponse = await this.postmark.sendEmail({
262262
From: 'info@dump.hr',
263263
To: internToCreate.email,
264264
Subject: 'Prijava na DUMP Internship',

0 commit comments

Comments
 (0)