diff options
Diffstat (limited to 'server/health.ts')
-rw-r--r-- | server/health.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/health.ts b/server/health.ts index 8435865..6a1f77f 100644 --- a/server/health.ts +++ b/server/health.ts @@ -14,7 +14,7 @@ export const healthCheck: HealthChecker = ( input: ITraceable<HealthCheckInput, ServerTrace>, ): Promise<IEither<Error, HealthCheckOutput>> => input - .bimap(TraceUtil.withFunctionTrace(healthCheck)) + .flatMap(TraceUtil.withFunctionTrace(healthCheck)) .move(getRequiredEnv('LAMINAR_HOST')) // ensure LAMINAR_HOST is propagated to getStdout for other procedures .map((tEitherEnv) => |