Skip to content

Commit 83b624f

Browse files
authored
Update example in react-email.md
1 parent 90a1a22 commit 83b624f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/integrations/react-email.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const transporter = nodemailer.createTransport({ // [!code ++]
127127
}) // [!code ++]
128128

129129
new Elysia()
130-
.get('/otp', ({ body }) => {
130+
.get('/otp', async ({ body }) => {
131131
// Random between 100,000 and 999,999
132132
const otp = ~~(Math.random() * (900_000 - 1)) + 100_000
133133

0 commit comments

Comments
 (0)