Skip to content

Commit

Permalink
void req
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed May 23, 2020
1 parent 317005e commit 6dcd92a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/api/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type { NextApiResponse } from 'next'
import type { NextSessionRequest } from 'multiverse/simple-auth-session'

export default async function(req: NextSessionRequest, res: NextApiResponse): Promise<void> {
void req;
const client = await MongoClient.connect(process.env.MONGODB_URI || '<unknown>', { useUnifiedTopology: true });
const db = client.db();
const meta = db.collection('meta');
Expand Down

0 comments on commit 6dcd92a

Please sign in to comment.