Skip to content

Commit

Permalink
Fix typo in project-structure.md (#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
thearian committed Jun 13, 2023
1 parent 46cfb25 commit 735683c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/guides/project-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ That's it. But now everywhere else in my application instead of requiring `pg` d
import * as db from '../db.js'

app.get('/:id', async (req, res, next) => {
const result = await db.query('SELECT * FROM users WHERE id = $1', [req.params.id]
const result = await db.query('SELECT * FROM users WHERE id = $1', [req.params.id])
res.send(result.rows[0])
})

Expand Down

0 comments on commit 735683c

Please sign in to comment.