diff --git a/lib/paginator.ex b/lib/paginator.ex index 410515a..71a1a40 100644 --- a/lib/paginator.ex +++ b/lib/paginator.ex @@ -207,7 +207,7 @@ defmodule Paginator do iex> Paginator.cursor_for_record(%Paginator.Customer{id: 1, name: "Alice"}, [id: :asc, name: :desc]) "g3QAAAACZAACaWRhAWQABG5hbWVtAAAABUFsaWNl" """ - @spec cursor_for_record(any(), [atom], (map(), atom() | {atom(), atom()} -> any())) :: binary() + @spec cursor_for_record(any(), [atom() | {atom(), atom()}], (map(), atom() | {atom(), atom()} -> any())) :: binary() def cursor_for_record( record, cursor_fields,