Skip to content

Commit

Permalink
use correct transport close method
Browse files Browse the repository at this point in the history
  • Loading branch information
konstrybakov committed Jul 25, 2024
1 parent eb77d00 commit 5d21816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/email/jobs/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ export const GET = async () => {
} finally {
logger.info('Finished `send-email` cron job')

await transport.close()
await transport.end()
}
}

0 comments on commit 5d21816

Please sign in to comment.