rename ENV variables to drop "IMPORTER" from the names and be more consistent

This commit is contained in:
Robert Dyer
2024-08-10 18:16:38 -05:00
parent 7e8cb82437
commit a6cd5dee0d
6 changed files with 23 additions and 11 deletions
+2 -3
View File
@@ -70,9 +70,8 @@ const zeroTransaction = async (payment) => {
(async () => {
await openBudget();
const payeeId = await ensurePayee(process.env.IMPORTER_INVESTMENT_PAYEE_NAME || 'Investment');
const categoryId = await ensureCategory(process.env.IMPORTER_INVESTMENT_CATEGORY_NAME || 'Investment');
const payeeId = await ensurePayee(process.env.INVESTMENT_PAYEE_NAME || 'Investment');
const categoryId = await ensureCategory(process.env.INVESTMENT_CATEGORY_NAME || 'Investment');
const simplefinBalances = await getSimplefinBalances();
if (simplefinBalances) {