From 9e94ad39f13136196b677633f0138f3629456f31 Mon Sep 17 00:00:00 2001 From: Robert Dyer Date: Mon, 1 Jul 2024 09:44:33 -0500 Subject: [PATCH] functions were not returning their value --- utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.js b/utils.js index 5ca3360..2f2dc01 100644 --- a/utils.js +++ b/utils.js @@ -83,6 +83,7 @@ module.exports = { console.error('Failed to create payee:', payeeName); process.exit(1); } + return payeeId; }, ensureCategory: async function (categoryName) { @@ -95,6 +96,7 @@ module.exports = { console.error('Failed to create category:', categoryName); process.exit(1); } + return categoryId; }, getTagValue: function (note, tag, defaultValue=undefined) {