Skip to content

Commit

Permalink
Allow for zero-arg invoking
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcolvar committed Dec 13, 2024
1 parent ef66ca8 commit 2942d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/hyrax/statistics/term_query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def ==(other)
end

# Allows us to create a Flot charts pie-graph
def as_json(opts)
def as_json(opts = nil)
@data.as_json(opts)
end
end
Expand Down

0 comments on commit 2942d68

Please sign in to comment.