From 4f63b99cee4af6b5ba55dd2b821876c71dc7cf7d Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 7 Feb 2020 21:30:24 +0000 Subject: Support YNAB personal-access-token Define my YNAB personal access token as an environment variable. Prefix Monzo environment variables with "monzo_" to more easily differentiate between Monzo credentials and YNAB credentials. --- monzo_ynab/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'monzo_ynab/main.go') diff --git a/monzo_ynab/main.go b/monzo_ynab/main.go index 5b6c654e2832..07f3af9a1c81 100644 --- a/monzo_ynab/main.go +++ b/monzo_ynab/main.go @@ -24,8 +24,8 @@ import ( //////////////////////////////////////////////////////////////////////////////// var ( - clientId = os.Getenv("client_id") - clientSecret = os.Getenv("client_secret") + clientId = os.Getenv("monzo_client_id") + clientSecret = os.Getenv("monzo_client_secret") ) const ( -- cgit 1.4.1