Remove await from client release (#3006)

Co-authored-by: Filipe Correa <f.avelino-correa@klarna.com>
This commit is contained in:
Filipe Correa 2023-06-12 21:50:40 +02:00 committed by GitHub
parent e2d8fa2dc2
commit 46cfb25baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>