start with a capital
authorMark Felder <feld@FreeBSd.org>
Mon, 19 Mar 2018 17:58:45 +0000 (17:58 +0000)
committerMark Felder <feld@FreeBSd.org>
Mon, 19 Mar 2018 17:58:45 +0000 (17:58 +0000)
lib/pleroma/web/oauth/authorization.ex

index 1ba5be60261844c3ff169e1ba423cc412c3849be..ab2dbf60e40977067bd83d8ab79bfc5ae5e77e00 100644 (file)
@@ -43,5 +43,5 @@ defmodule Pleroma.Web.OAuth.Authorization 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