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"}
|
{:error, "token expired"}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
def use_token(%Authorization{used: true}), do: {:error, "already used"}
|
def use_token(%Authorization{used: true}), do: {:error, "Already used"}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue