start with a capital
This commit is contained in:
parent
185c030258
commit
2549a73d6d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue