mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: use correct typespec for Ash.Sort.parse_input/2
This commit is contained in:
parent
d4f4af1876
commit
e765eb5e10
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ defmodule Ash.Sort do
|
|||
| list(atom | String.t() | {atom, sort_order()} | list(String.t()))
|
||||
| nil
|
||||
) ::
|
||||
Ash.Sort.t() | nil
|
||||
{:ok, Ash.Sort.t()} | {:error, term}
|
||||
def parse_input(resource, sort) when is_binary(sort) do
|
||||
sort = String.split(sort, ",")
|
||||
parse_input(resource, sort)
|
||||
|
|
Loading…
Reference in a new issue