fix: invoke `authenticate` factory

pull/7738/head
Luke Edwards 6 years ago committed by Conduitry
parent 1f826c14b9
commit b3613c9716

@ -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