fix error spam (#25591)
This commit is contained in:
1 parent
2a7439b58d
commit
ad416ac9df
1 file changed
+1
-1
@@ -193,7 +193,7 @@ export const permissionsRouter = router({
|
||||
}
|
||||
|
||||
if (!teamHasPBACFeature) {
|
||||
throw new Error("PBAC is not enabled for this team");
|
||||
return [];
|
||||
}
|
||||
|
||||
// Check if user has permission to view roles
|
||||
|
||||
Reference in new issue
Block a user