Fix sync: add missing tables, Linux date, token from env
Add production and consumption table migrations. Fix sync-month.sh to use Linux date syntax and default to port 3030. Read Eloverblik token from ELOVERBLIK_TOKEN env var with .token file fallback. Mount .token into Docker container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,8 @@
|
||||
|
||||
(defn- read-refresh-token
|
||||
[]
|
||||
(str/trim (slurp ".token")))
|
||||
(or (System/getenv "ELOVERBLIK_TOKEN")
|
||||
(str/trim (slurp ".token"))))
|
||||
|
||||
|
||||
(defn- get-access-token
|
||||
|
||||
Reference in New Issue
Block a user