We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 507bc51 + a99a013 commit 8c0e4cdCopy full SHA for 8c0e4cd
routes/index.js
@@ -1,7 +1,5 @@
1
import express from 'express';
2
-
3
-import pkg from 'http-errors';
4
-const {createError} = pkg;
+import createError from 'http-errors';
5
6
import { preProcess } from '../helpers/preprocessing.js';
7
0 commit comments