Skip to content

Commit 31bc16e

Browse files
committed
Remove extra semicolon
1 parent 67308cc commit 31bc16e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ function fastifyPostgres (fastify, options, next) {
1919
const pool = new pg.Pool(options)
2020

2121
if (!fastify.pg) {
22-
fastify.decorate('pg', {});
22+
fastify.decorate('pg', {})
2323
}
2424

2525
fastify.pg[name] = {
2626
connect: pool.connect.bind(pool),
2727
pool: pool,
2828
Client: pg.Client,
2929
query: pool.query.bind(pool)
30-
};
30+
}
3131

3232
fastify.addHook('onClose', (fastify, done) => pool.end(done))
3333

0 commit comments

Comments
 (0)