From eb7f97a054ff738550b8824043fec16d82d3ad15 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Wed, 14 Jan 2026 16:38:49 -0800 Subject: [PATCH] container: finance: fetch: add API_VERSION to env --- container/src/finance/lib/internal/fetch/fetch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/container/src/finance/lib/internal/fetch/fetch.php b/container/src/finance/lib/internal/fetch/fetch.php index 3143222..325e9d2 100644 --- a/container/src/finance/lib/internal/fetch/fetch.php +++ b/container/src/finance/lib/internal/fetch/fetch.php @@ -2,7 +2,7 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2026 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -67,6 +67,7 @@ namespace dfi $env = new utils\Env(); // Fetch (API) + $env->set_env('API_VERSION', getenv('DOCKER_FINANCE_VERSION')); // API version $env->set_env('API_FETCH_TYPE', strtolower($argv[1])); // API type $env->set_env('API_FETCH_SUBTYPE', strtolower($argv[2])); // API subtype $env->set_env('API_FETCH_YEAR', getenv('API_FETCH_YEAR')); // API year (to fetch)