working leantime widget 30
This commit is contained in:
parent
f58b02628d
commit
fcfac2c56f
@ -1,3 +1,4 @@
|
||||
import { NextRequest } from "next/server";
|
||||
import { getServerSession } from "next-auth/next";
|
||||
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
|
||||
import { NextResponse } from "next/server";
|
||||
@ -58,7 +59,7 @@ async function getLeantimeUserId(email: string): Promise<number | null> {
|
||||
}
|
||||
}
|
||||
|
||||
export async function GET() {
|
||||
export async function GET(request: NextRequest) {
|
||||
try {
|
||||
const session = await getServerSession(authOptions);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user