start with a capital
This commit is contained in:
parent
185c030258
commit
2549a73d6d
|
@ -43,5 +43,5 @@ def use_token(%Authorization{used: false, valid_until: valid_until} = auth) do
|
|||
{:error, "token expired"}
|
||||
end
|
||||
end
|
||||
def use_token(%Authorization{used: true}), do: {:error, "already used"}
|
||||
def use_token(%Authorization{used: true}), do: {:error, "Already used"}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue