fix
This commit is contained in:
parent
3c8a7543bf
commit
6ba28a795c
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import client from "@/lib/mongodb";
|
||||
import client from "../lib/mongodb";
|
||||
|
||||
export async function getTeamPlayers() {
|
||||
const db = client.db("SloppyFuckers")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { MongoClient, ServerApiVersion } from "mongodb"
|
||||
|
||||
const client = new MongoClient(process.env.MONGODB_URI, {
|
||||
const client = new MongoClient(process.env.MONGODB_URI || '', {
|
||||
serverApi: {
|
||||
version: ServerApiVersion.v1,
|
||||
strict: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue