From 2549a73d6dcc41c15034ed11a33a3453c2795431 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Mon, 19 Mar 2018 17:58:45 +0000 Subject: [PATCH] start with a capital --- lib/pleroma/web/oauth/authorization.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/oauth/authorization.ex b/lib/pleroma/web/oauth/authorization.ex index 1ba5be602..ab2dbf60e 100644 --- a/lib/pleroma/web/oauth/authorization.ex +++ b/lib/pleroma/web/oauth/authorization.ex @@ -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 -- 2.45.2