From 99316c1f2a28dba1c6b6aeff9434860eed86018e Mon Sep 17 00:00:00 2001 From: Robbie Mackay Date: Fri, 12 Nov 2021 14:29:41 +1300 Subject: [PATCH] Fix ERR_MODULE_NOT_FOUND when loading Error from Expression.js --- src/Expression.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Expression.js b/src/Expression.js index 2c5a7f5..158170f 100644 --- a/src/Expression.js +++ b/src/Expression.js @@ -4,7 +4,7 @@ This module converts API requests into DynamoDB commands. */ -import {OneError, OneArgError} from './Error' +import {OneError, OneArgError} from './Error.js' // Operators used on sort keys for get/delete const KeyOperators = [ '<', '<=', '=', '>=', '>', 'begins', 'begins_with', 'between' ]