From 972036311730e08676b67a753e21f72710667114 Mon Sep 17 00:00:00 2001 From: Gabe Berke-Williams Date: Thu, 27 Dec 2018 17:31:58 -0800 Subject: [PATCH] Fix typo in deprecation message The message recommended using `authTwitterUsingUserID` (note that the `ID` at the end of the method name is all capitalized). However, the actual method name is `authTwitterUsingUserId` (note the `Id` at the end). --- yesod-auth-oauth/Yesod/Auth/OAuth.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-auth-oauth/Yesod/Auth/OAuth.hs b/yesod-auth-oauth/Yesod/Auth/OAuth.hs index 8b2408d4..a8d1d63a 100644 --- a/yesod-auth-oauth/Yesod/Auth/OAuth.hs +++ b/yesod-auth-oauth/Yesod/Auth/OAuth.hs @@ -130,7 +130,7 @@ authTwitter :: YesodAuth m -> ByteString -- ^ Consumer Secret -> AuthPlugin m authTwitter key secret = authTwitter' key secret "screen_name" -{-# DEPRECATED authTwitter "Use authTwitterUsingUserID instead" #-} +{-# DEPRECATED authTwitter "Use authTwitterUsingUserId instead" #-} -- | Twitter plugin which uses Twitter's /user_id/ as ID. --