File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ data AppEnv = AppEnv
8585 internalEndPointHashMap :: HM. HashMap BaseUrl BaseUrl ,
8686 requestId :: Maybe Text ,
8787 shouldLogRequestId :: Bool ,
88- kafkaProducerForART :: Maybe KafkaProducerTools
88+ kafkaProducerForART :: Maybe KafkaProducerTools ,
89+ url :: Maybe Text
8990 }
9091 deriving (Generic )
9192
@@ -123,6 +124,7 @@ buildAppEnv AppCfg {..} = do
123124 return $
124125 AppEnv
125126 { gwId = selfId,
127+ url = Nothing ,
126128 ..
127129 }
128130
Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ data AppEnv = AppEnv
6060 requestId :: Maybe Text ,
6161 shouldLogRequestId :: Bool ,
6262 kafkaProducerForART :: Maybe KafkaProducerTools ,
63- internalAuthApiKey :: Text
63+ internalAuthApiKey :: Text ,
64+ url :: Maybe Text
6465 }
6566 deriving (Generic )
6667
@@ -75,7 +76,7 @@ buildAppEnv AppCfg {..} = do
7576 let kafkaProducerForART = Nothing
7677 loggerEnv <- prepareLoggerEnv loggerConfig hostname
7778 esqDBEnv <- prepareEsqDBEnv esqDBCfg loggerEnv
78- return AppEnv {.. }
79+ return AppEnv {url = Nothing , .. }
7980
8081releaseAppEnv :: AppEnv -> IO ()
8182releaseAppEnv AppEnv {.. } =
You can’t perform that action at this time.
0 commit comments