Skip to content

Commit aea68cc

Browse files
author
Rajat
committed
fixed incorrect method call
1 parent d542229 commit aea68cc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/app/(with-contexts)/dashboard/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default async function Page() {
99
const profile = (await getProfile()) as Profile;
1010

1111
if (!profile) {
12-
await auth.signOut();
12+
await auth.api.signOut();
1313
}
1414

1515
if (checkPermission(profile?.permissions, ADMIN_PERMISSIONS)) {

apps/web/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)