fix: invoke `authenticate` factory

pull/3740/head
Luke Edwards 6 years ago
parent 577333e180
commit c53773bcee

@ -15,7 +15,7 @@ const app = polka({
});
if (process.env.PGHOST) {
app.use(authenticate);
app.use(authenticate());
}
app.use(
@ -34,4 +34,4 @@ app.use(
})
);
app.listen(PORT);
app.listen(PORT);

Loading…
Cancel
Save