Skip to content

Commit

Permalink
Avoid errors trying to find scope in census authorization handler
Browse files Browse the repository at this point in the history
  • Loading branch information
entantoencuanto committed Jun 4, 2024
1 parent ff5d520 commit aa8e98b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def unique_id
end

def scope
Decidim::Scope.find(scope_id)
Decidim::Scope.find_by_id(scope_id)
end

def census_for_user
Expand Down

0 comments on commit aa8e98b

Please sign in to comment.