mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
fix lint
This commit is contained in:
@@ -170,7 +170,7 @@ export async function getServerSession<
|
||||
let deprecatedWarningShown = false
|
||||
|
||||
/** @deprecated renamed to `getServerSession` */
|
||||
export function unstable_getServerSession(
|
||||
export async function unstable_getServerSession(
|
||||
...args: Parameters<typeof getServerSession>
|
||||
): ReturnType<typeof getServerSession> {
|
||||
if (!deprecatedWarningShown && process.env.NODE_ENV !== "production") {
|
||||
@@ -180,7 +180,7 @@ export function unstable_getServerSession(
|
||||
deprecatedWarningShown = true
|
||||
}
|
||||
|
||||
return getServerSession(...args)
|
||||
return await getServerSession(...args)
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
Reference in New Issue
Block a user