Skip to content

Commit cc89df8

Browse files
authored
Merge pull request #535 from d4rl1nn/patch-1
Update example in react-email.md
2 parents 90a1a22 + 83b624f commit cc89df8

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)