From 2b7932a3523b24b0be9e0ec0fd323640c1f98fc3 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 3 Oct 2024 20:32:38 +0100 Subject: [PATCH] i donut get it --- apps/frontend/src/app/(pages)/api/player/history/route.ts | 2 +- apps/frontend/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/app/(pages)/api/player/history/route.ts b/apps/frontend/src/app/(pages)/api/player/history/route.ts index 5c30b89..202700a 100644 --- a/apps/frontend/src/app/(pages)/api/player/history/route.ts +++ b/apps/frontend/src/app/(pages)/api/player/history/route.ts @@ -1,8 +1,8 @@ import { NextRequest, NextResponse } from "next/server"; -import { connectMongo } from "@/common/mongo"; import { IPlayer, PlayerModel } from "@/common/schema/player-schema"; import { seedPlayerHistory } from "@/common/player-utils"; import { scoresaberService } from "@/common/service/impl/scoresaber"; +import { connectMongo } from "@/common/mongo"; export async function GET(request: NextRequest) { const playerIdCookie = request.cookies.get("playerId"); diff --git a/apps/frontend/tsconfig.json b/apps/frontend/tsconfig.json index e937709..e3d74ca 100644 --- a/apps/frontend/tsconfig.json +++ b/apps/frontend/tsconfig.json @@ -30,7 +30,7 @@ "./src/*" ] }, - "target": "ES2017" + "target": "ES2022" }, "include": [ "next-env.d.ts",