fix: Make kaffy work with newer Ecto
This commit is contained in:
parent
75e1422708
commit
9eb56fe586
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ defmodule Kaffy.ResourceQuery do
|
|||
@moduledoc false
|
||||
|
||||
import Ecto.Query
|
||||
import Ecto.Query.API, only: [field: 2]
|
||||
|
||||
def list_resource(conn, resource, params \\ %{}) do
|
||||
per_page = Map.get(params, "limit", "100") |> String.to_integer()
|
||||
|
|
Loading…
Reference in a new issue