Fix all warnings
This commit is contained in:
parent
2a903feca1
commit
07a408951b
@ -62,6 +62,12 @@ newOAuth :: OAuth
|
|||||||
newOAuth = OAuth { oauthSignatureMethod = HMACSHA1
|
newOAuth = OAuth { oauthSignatureMethod = HMACSHA1
|
||||||
, oauthCallback = Nothing
|
, oauthCallback = Nothing
|
||||||
, oauthRealm = Nothing
|
, oauthRealm = Nothing
|
||||||
|
, oauthServerName = error "oauthServerName"
|
||||||
|
, oauthRequestUri = error "oauthRequestUri"
|
||||||
|
, oauthAccessTokenUri = error "oauthAccessTokenUri"
|
||||||
|
, oauthAuthorizeUri = error "oauthAuthorizeUri"
|
||||||
|
, oauthConsumerKey = error "oauthConsumerKey"
|
||||||
|
, oauthConsumerSecret = error "oauthConsumerSecret"
|
||||||
}
|
}
|
||||||
|
|
||||||
-- | Data type for signature method.
|
-- | Data type for signature method.
|
||||||
|
|||||||
@ -17,7 +17,7 @@ import Data.Text.Encoding.Error (lenientDecode)
|
|||||||
import Data.Text.Lazy (toStrict)
|
import Data.Text.Lazy (toStrict)
|
||||||
import Network.HTTP.Conduit
|
import Network.HTTP.Conduit
|
||||||
( parseUrl, urlEncodedBody, responseBody, httpLbs
|
( parseUrl, urlEncodedBody, responseBody, httpLbs
|
||||||
, HttpException, Manager
|
, Manager
|
||||||
)
|
)
|
||||||
import Data.Conduit (ResourceT, ResourceIO)
|
import Data.Conduit (ResourceT, ResourceIO)
|
||||||
import Control.Arrow ((***), second)
|
import Control.Arrow ((***), second)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user