Skip to content

Commit cb23f2a

Browse files
committed
updated shared-kernel flake
1 parent c1eae0f commit cb23f2a

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

app/gateway/src/App/Types.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

app/mock-registry/src/App/Types.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

8081
releaseAppEnv :: AppEnv -> IO ()
8182
releaseAppEnv AppEnv {..} =

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)