Skip to content

Commit

Permalink
Fix express async handler
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpolman committed Nov 11, 2024
1 parent 88061c8 commit c1b0697
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/api/src/app/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'express-async-errors';

import { MONGODB_URI, NODE_ENV, PORT, VERSION } from '@thxnetwork/api/config/secrets';
import { router } from '@thxnetwork/api/controllers/index';
import { corsHandler, errorLogger, errorNormalizer, errorOutput, notFoundHandler } from '@thxnetwork/api/middlewares';
Expand All @@ -6,7 +8,6 @@ import axios from 'axios';
import axiosBetterStacktrace from 'axios-better-stacktrace';
import compression from 'compression';
import express, { Express } from 'express';
import 'express-async-errors';
import lusca from 'lusca';
import morganBody from 'morgan-body';
import RouterJWKS from './controllers/jwks/jwks.router';
Expand Down

0 comments on commit c1b0697

Please sign in to comment.