File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import Share.Web.Authentication (cookieSessionTTL)
2525import Hasql.Pool qualified as Pool
2626import Hasql.Pool.Config qualified as Pool
2727import Network.URI (parseURI )
28- import Servant.API qualified as Servant
2928import Servant.Client qualified as ServantClient
3029import System.Environment (lookupEnv )
3130import System.Exit
@@ -57,9 +56,6 @@ withEnv action = do
5756 githubClientSecret <- fromEnv " SHARE_GITHUB_CLIENT_SECRET" (pure . Right . Text. pack)
5857 hs256Key <- fromEnv " SHARE_HMAC_KEY" (pure . Right . BS. pack)
5958 edDSAKey <- fromEnv " SHARE_EDDSA_KEY" (pure . Right . BS. pack)
60- zendeskAPIUser <- fromEnv " SHARE_ZENDESK_API_USER" (pure . Right . BS. pack)
61- zendeskAPIToken <- fromEnv " SHARE_ZENDESK_API_TOKEN" (pure . Right . BS. pack)
62- let zendeskAuth = Servant. BasicAuthData zendeskAPIUser zendeskAPIToken
6359 commitHash <- fromEnv " SHARE_COMMIT" (pure . Right . Text. pack)
6460 minLogSeverity <-
6561 lookupEnv " SHARE_LOG_LEVEL" >>= \ case
Original file line number Diff line number Diff line change @@ -93,8 +93,6 @@ services:
9393 - VAULT_HOST=http://vault:8200/v1
9494 - VAULT_TOKEN=sekrit
9595 - USER_SECRETS_VAULT_MOUNT=secret # A default mount in dev vault
96- - SHARE_ZENDESK_API_USER=invaliduser@example.com
97- - SHARE_ZENDESK_API_TOKEN=bad-password
9896 - SHARE_GITHUB_CLIENTID=invalid
9997 - SHARE_GITHUB_CLIENT_SECRET=invalid
10098
Original file line number Diff line number Diff line change @@ -174,7 +174,6 @@ library
174174 Share.Web.Support.API
175175 Share.Web.Support.Impl
176176 Share.Web.Support.Types
177- Share.Web.Support.Zendesk
178177 Share.Web.Types
179178 Share.Web.UCM.Projects.Impl
180179 Share.Web.UCM.Sync.HashJWT
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import Database.Redis qualified as R
88import Hasql.Pool qualified as Hasql
99import Network.HTTP.Client qualified as HTTPClient
1010import Network.URI (URI )
11- import Servant qualified as S
1211import Servant.Client qualified as S
1312import Share.JWT qualified as JWT
1413import Share.Prelude
@@ -49,7 +48,6 @@ data Env ctx = Env
4948 cookieSettings :: Cookies. CookieSettings ,
5049 sessionCookieKey :: Text ,
5150 sandboxedRuntime :: Runtime Symbol ,
52- zendeskAuth :: S. BasicAuthData ,
5351 sentryService :: SentryService ,
5452 -- The commit hash of the currently running version of Share
5553 commitHash :: Text ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments