Skip to content

Commit ef7afdb

Browse files
gimseporsager
authored andcommitted
env.PGAPPNAME ||
1 parent be716e2 commit ef7afdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ function parseOptions(a, b) {
480480
{}
481481
),
482482
connection : {
483-
application_name: env.PGUSERNAME || 'postgres.js',
483+
application_name: env.PGAPPNAME || 'postgres.js',
484484
...o.connection,
485485
...Object.entries(query).reduce((acc, [k, v]) => (k in defaults || (acc[k] = v), acc), {})
486486
},

0 commit comments

Comments
 (0)