Skip to content

Commit

Permalink
Fix compilation warning on Elixir 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
axelson authored and cpjolicoeur committed Dec 25, 2024
1 parent 130c3da commit b62629d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/torch/pagination.ex
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ defmodule Torch.Pagination do
schema_attrs = model.__schema__(:query_fields)
schema_filter_config = build_filter_config(model, schema_attrs)

quote do
quote(generated: true) do
def unquote(:"paginate_#{name}")(params \\ %{}) do
params =
params
Expand Down

0 comments on commit b62629d

Please sign in to comment.