packages feed

scalp-webhooks 0.1.1.0 → 0.1.2.0

raw patch · 2 files changed

+3/−3 lines, 2 files

Files

scalp-webhooks.cabal view
@@ -1,5 +1,5 @@ name:                scalp-webhooks-version:             0.1.1.0+version:             0.1.2.0 -- synopsis:             -- description:          license:             Apache-2.0
src/IntercomDefinitions.hs view
@@ -21,8 +21,8 @@ import           System.Environment  opts = do-  appId <- getEnv "SCALPEL_INTERCOM_APP_ID"-  appApiKey <- getEnv "SCALPEL_INTERCOM_APP_API_KEY"+  appId <- getEnv "INTERCOM_APP_ID"+  appApiKey <- getEnv "INTERCOM_APP_API_KEY"   return $ W.defaults & W.header "Accept" .~ ["application/json"]                       & W.header "Content-Type" .~ ["application/json"]                       & W.auth ?~ W.basicAuth (pack appId) (pack appApiKey)