fix: bad spec
This commit is contained in:
parent
89630a8a74
commit
a28588ebf0
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
-export([do_query/2, apply_total_query/1]).
|
-export([do_query/2, apply_total_query/1]).
|
||||||
|
|
||||||
-spec paginate(atom(), map(), {atom(), fun()}) ->
|
-spec paginate(atom(), map(), {atom(), atom()}) ->
|
||||||
#{
|
#{
|
||||||
meta => #{page => pos_integer(), limit => pos_integer(), count => pos_integer()},
|
meta => #{page => pos_integer(), limit => pos_integer(), count => pos_integer()},
|
||||||
data => list(term())
|
data => list(term())
|
||||||
|
|
Loading…
Reference in New Issue