Skip to content

Commit

Permalink
ebird-client: Remove unused pragma, rename where-bound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
FinleyMcIlwaine committed Sep 27, 2023
1 parent 37f8e49 commit 865aedf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ebird-client/src/Data/EBird/Client.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeApplications #-}

{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-}
{-# HLINT ignore "Eta reduce" #-}

Expand Down Expand Up @@ -76,8 +76,8 @@ import Data.EBird.Client.Taxonomy
askEBird :: ClientM a -> IO (Either ClientError a)
askEBird question = do
manager' <- newTlsManager
runClientM question (mkClientEnv manager' ebirdHQ)
runClientM question (mkClientEnv manager' eBirdHQ)
where
-- Home of the official eBird API
ebirdHQ :: BaseUrl
ebirdHQ = BaseUrl Https "api.ebird.org" 443 ""
eBirdHQ :: BaseUrl
eBirdHQ = BaseUrl Https "api.ebird.org" 443 ""

0 comments on commit 865aedf

Please sign in to comment.