Fix helpers importing

This commit is contained in:
Campbell Alden 2026-03-26 00:05:22 +09:00
parent 470be2880c
commit 3e6f1f4780
3 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{ {
"type": "module",
"name": "reporter.js", "name": "reporter.js",
"version": "0.0.1", "version": "0.0.1",
"scripts": { "scripts": {

View file

@ -11,7 +11,7 @@ import AsyncLock from 'async-lock';
import cors from 'cors' import cors from 'cors'
import api from '@actual-app/api'; import api from '@actual-app/api';
import fs from 'fs'; import fs from 'fs';
import { makeTransaction, parse } from './helpers.js'; import { makeTransaction, parse } from './helpers.cjs';
async function addTransaction(config, transaction) { async function addTransaction(config, transaction) {
try { try {