Skip to content

Commit 3ae45f2

Browse files
committed
Update library usage section of README
1 parent 7237603 commit 3ae45f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ const ConnectionFilterPlugin = require("postgraphile-plugin-connection-filter");
4141
const app = express();
4242

4343
app.use(
44-
postgraphile(pgConfig, schema, {
45-
graphiql: true,
44+
postgraphile(process.env.DATABASE_URL, "app_public", {
4645
appendPlugins: [ConnectionFilterPlugin],
46+
graphiql: true,
4747
})
4848
);
4949

0 commit comments

Comments
 (0)