return value on then

This commit is contained in:
Ulf Gebhardt 2023-04-06 15:11:33 +02:00
parent f2168ccea7
commit aa8b9d017d
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -75,6 +75,7 @@ export const sendEmailTranslated = async (params: {
resultSend = result
logger.info('Send email successfully !!!')
logger.info('Result: ', result)
return result
})
.catch((error: unknown) => {
throw new LogError('Error sending notification email', error)