Skip to content

Commit f87763f

Browse files
author
Rajat
committed
Fixed get-set-up that got broken due to better-auth migration
1 parent 0a6b7d1 commit f87763f

File tree

1 file changed

+1
-1
lines changed
  • apps/web/app/(with-contexts)/dashboard/(sidebar)

1 file changed

+1
-1
lines changed

apps/web/app/(with-contexts)/dashboard/(sidebar)/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export async function getSetupChecklist(): Promise<{
2828
try {
2929
const domain = await DomainModel.findOne<Domain>(
3030
{
31-
_id: new ObjectId((session.user as any)?.domainId!),
31+
_id: new ObjectId((session.session as any)?.domainId!),
3232
},
3333
{
3434
_id: 1,

0 commit comments

Comments
 (0)