server: use metadata DB ID as ProjectID for EE lite projects

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5874
GitOrigin-RevId: 63a4016227eeeceb0143cf84ed4c13b14f424d4b
This commit is contained in:
Anon Ray 2022-09-15 14:42:09 +05:30 committed by hasura-bot
parent 8bc3b27bb1
commit 1d9844ee4e

View File

@ -293,7 +293,7 @@ cleanLoggerCtx =
-- See Note [Existentially Quantified Types]
newtype Logger impl = Logger {unLogger :: forall a m. (ToEngineLog a impl, MonadIO m) => a -> m ()}
mkLogger :: LoggerCtx Hasura -> Logger Hasura
mkLogger :: (J.ToJSON (EngineLogType impl)) => LoggerCtx impl -> Logger impl
mkLogger (LoggerCtx loggerSet serverLogLevel timeGetter enabledLogTypes) = Logger $ \l -> do
localTime <- liftIO timeGetter
let (logLevel, logTy, logDet) = toEngineLog l