diff --git a/helpers.cjs b/helpers.js similarity index 100% rename from helpers.cjs rename to helpers.js diff --git a/package.json b/package.json index 26a0ba7..2a900c6 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,4 @@ { - "type": "module", "name": "reporter.js", "version": "0.0.1", "scripts": { diff --git a/reporter.js b/reporter.js index cba43e5..39e526d 100644 --- a/reporter.js +++ b/reporter.js @@ -11,7 +11,7 @@ import AsyncLock from 'async-lock'; import cors from 'cors' import api from '@actual-app/api'; import fs from 'fs'; -import { makeTransaction, parse } from './helpers.cjs'; +import { makeTransaction, parse } from './helpers'; async function addTransaction(config, transaction) { try {