We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e2e21 commit a611271Copy full SHA for a611271
app/services/forest_liana/permissions_checker.rb
@@ -177,7 +177,7 @@ def stat_with_parameters_allowed?
177
return false unless pool_permissions
178
179
# NOTICE: equivalent to Object.values in js & removes nil values
180
- array_permission_infos = @query_request_info.values.filter_map{ |x| x unless x.nil? }
+ array_permission_infos = @query_request_info.values.select{ |x| !x.nil? }
181
182
# NOTICE: Is there any pool_permissions containing the array_permission_infos
183
return pool_permissions.any? {
0 commit comments