Skip to content

Commit 5699021

Browse files
committed
fix: removed organizationId check on safe-action
1 parent 92a66ba commit 5699021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/app/src/actions/safe-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const authActionClient = actionClientWithMeta
8282
.use(async ({ next, metadata, ctx }) => {
8383
const session = await auth();
8484

85-
if (!session || !session.user.organizationId) {
85+
if (!session) {
8686
throw new Error("Unauthorized");
8787
}
8888

0 commit comments

Comments
 (0)