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
+1 -1
View File
@@ -12,7 +12,7 @@ const Utils = {
const password = process.env.ACTUAL_SERVER_PASSWORD || '';
const file_password = process.env.ACTUAL_FILE_PASSWORD || '';
const sync_id = process.env.ACTUAL_SYNC_ID || '';
const cache = process.env.IMPORTER_CACHE_DIR || './cache';
const cache = process.env.ACTUAL_CACHE_DIR || './cache';
if (!url || !password || !sync_id) {
console.error('Required settings for Actual not provided.');