File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ import { PgAggregatesPreset } from "@graphile/pg-aggregates";
99import { PgSimplifyInflectionPreset } from "@graphile/simplify-inflection" ;
1010import { PgManyToManyPreset } from '@graphile-contrib/pg-many-to-many' ;
1111
12+ const { DATABASE_URL , DATABASE_SCHEMAS } = process . env
13+
1214console . debug ( 'PostGraphileConnectionFilterPreset' , PostGraphileConnectionFilterPreset )
1315
1416const preset = {
@@ -46,8 +48,8 @@ const preset = {
4648 } ,
4749 pgServices : [
4850 makePgService ( {
49- connectionString : process . env . DATABASE_URL ,
50- schemas : process . env . DATABASE_SCHEMAS ?. split ( ',' ) ?? [ 'public' ] ,
51+ connectionString : DATABASE_URL ,
52+ schemas : DATABASE_SCHEMAS ?. split ( ',' ) ?? [ 'public' ] ,
5153 pubsub : true
5254 } )
5355 ] ,
You can’t perform that action at this time.
0 commit comments