Skip to content

Commit

Permalink
Try to fix module-type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ammsalme committed Jan 17, 2025
1 parent 022aad3 commit 7cd95d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"license": "MIT",
"version": "4.2.4-alpha.2",
"type": "module",
"typeFOO": "module",
"main": "./dist/index.js",
"engines": {
"node": ">=18"
Expand Down
2 changes: 1 addition & 1 deletion src/mongoLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {logError} from './utils.js';
import moment from 'moment';
import httpStatus from 'http-status';
import sanitize from 'mongo-sanitize';
import {LOG_ITEM_TYPE} from './constants';
import {LOG_ITEM_TYPE} from './constants.js';

/**
* Create log operator
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {createLogger} from '@natlibfi/melinda-backend-commons';
import {Error as ApiError} from '@natlibfi/melinda-commons';
import {IMPORT_JOB_STATE, OPERATIONS} from './constants';
import {IMPORT_JOB_STATE, OPERATIONS} from './constants.js';
import httpStatus from 'http-status';

const logger = createLogger();
Expand Down

0 comments on commit 7cd95d3

Please sign in to comment.