Skip to content

Commit

Permalink
Remove await from client release (#3006)
Browse files Browse the repository at this point in the history
Co-authored-by: Filipe Correa <f.avelino-correa@klarna.com>
  • Loading branch information
filipecorrea and Filipe Correa committed Jun 12, 2023
1 parent e2d8fa2 commit 46cfb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/features/pooling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const client = await pool.connect()
const res = await client.query('SELECT * FROM users WHERE id = $1', [1])
console.log(res.rows[0])

await client.release()
client.release()
```

<Alert>
Expand Down

0 comments on commit 46cfb25

Please sign in to comment.