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",