Skip to content

Commit 8c0e4cd

Browse files
Merge pull request #11 from stiefeljackal/fix/ems-import-error
fix: adjust import for http-errors
2 parents 507bc51 + a99a013 commit 8c0e4cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

routes/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import express from 'express';
2-
3-
import pkg from 'http-errors';
4-
const {createError} = pkg;
2+
import createError from 'http-errors';
53

64
import { preProcess } from '../helpers/preprocessing.js';
75

0 commit comments

Comments
 (0)