Skip to content

Commit 12e22f1

Browse files
docs: update README to remove EOL Node.js references (#592)
Co-authored-by: Mariam Saeed <[email protected]>
1 parent 404ef3f commit 12e22f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ fastify.post('/upload/files', async function (req, reply) {
232232
const fooValue = req.body.foo.value // other fields
233233
const body = Object.fromEntries(
234234
Object.keys(req.body).map((key) => [key, req.body[key].value])
235-
) // Request body in key-value pairs, like req.body in Express (Node 12+)
235+
) // Request body in key-value pairs, like req.body in Express (Node 20+)
236236

237-
// On Node 18+
237+
// On Node 20+
238238
const formData = await req.formData()
239239
console.log(formData)
240240
})

0 commit comments

Comments
 (0)