Skip to content

Commit 43d5697

Browse files
committed
fix: 🐛 fix helper import issue
1 parent 85b785a commit 43d5697

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Client } from "@notionhq/client";
22

3-
import { apiResponse, transformDatabase } from "./helpers.ts";
3+
import { apiResponse, transformDatabase } from "./helpers.js";
44

55
const apiKey = process.env.NOTION_SECRET;
66
const notion = new Client({ auth: apiKey });

api/invoices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Client } from "@notionhq/client";
22

3-
import { apiResponse, transformInvoice } from "./helpers.ts";
3+
import { apiResponse, transformInvoice } from "./helpers.js";
44

55
const apiKey = process.env.NOTION_SECRET;
66
const notion = new Client({ auth: apiKey });

0 commit comments

Comments
 (0)