Skip to content

Commit 1f410a2

Browse files
committed
fix shit
1 parent 61c4e23 commit 1f410a2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/auth/sisuRoles.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ export const hasFullSisuAccess = async (personId: string) => {
4444
})
4545
return hasFullAccessToSisu
4646
}
47+
return false
48+
} catch (error) {
4749
return false
48-
49-
catch (error) {
50-
return false
5150
}
5251
}

0 commit comments

Comments
 (0)