diff --git a/config/auth.ts b/config/auth.ts index 0e467197..b9a5353f 100644 --- a/config/auth.ts +++ b/config/auth.ts @@ -57,22 +57,22 @@ export const auth: Partial = { templates: { emailVerify: ` -

Hello {{name}}

We have received a request to verify your email address. If you haven't made this request please ignore the following email. Otherwise, to complete the process, click the following link.

+

Hello {{name}}

We have received a request to verify your email address. If you haven't made this request please ignore the following email. Otherwise, to complete the process, click the following link.

Verify email -

This link will expire in {{validityInMinutes}} minutes.

- `, +

This link will expire in {{validityInMinutes}} minutes.


From ESP Admin

+ `, passwordReset: ` -

Hello {{name}}

We have received a request to reset your password. If you haven't made this request please ignore the following email. Otherwise, to complete the process, click the following link.

+

Hello {{name}}

We have received a request to reset your password. If you haven't made this request please ignore the following email. Otherwise, to complete the process, click the following link.

Reset password -

This link will expire in {{validityInMinutes}} minutes.

- ` +

This link will expire in {{validityInMinutes}} minutes.


From ESP Admin

+ ` } } } diff --git a/server/api/device/[id]/report/custom/index.post.ts b/server/api/device/[id]/report/custom/index.post.ts index 1221933e..4266c3c4 100644 --- a/server/api/device/[id]/report/custom/index.post.ts +++ b/server/api/device/[id]/report/custom/index.post.ts @@ -10,7 +10,7 @@ export default defineEventHandler(async (event) => { } const reportTemplate = ` -

Hello

We have received {{type}} custom report message with the following payload

{{body}}

+

Hello

We have received {{type}} custom report message with the following payload

{{body}}


From ESP Admin

` const { userId } = await checkDevice(event)