functions were not returning their value

This commit is contained in:
Robert Dyer
2024-07-01 09:44:33 -05:00
parent b677570a2a
commit 9e94ad39f1
+2
View File
@@ -83,6 +83,7 @@ module.exports = {
console.error('Failed to create payee:', payeeName); console.error('Failed to create payee:', payeeName);
process.exit(1); process.exit(1);
} }
return payeeId;
}, },
ensureCategory: async function (categoryName) { ensureCategory: async function (categoryName) {
@@ -95,6 +96,7 @@ module.exports = {
console.error('Failed to create category:', categoryName); console.error('Failed to create category:', categoryName);
process.exit(1); process.exit(1);
} }
return categoryId;
}, },
getTagValue: function (note, tag, defaultValue=undefined) { getTagValue: function (note, tag, defaultValue=undefined) {