about summary refs log tree commit diff
path: root/monzo_ynab/main.go
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-07T21·30+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-07T21·30+0000
commit4f63b99cee4af6b5ba55dd2b821876c71dc7cf7d (patch)
tree9fabcb1339dd5f0440e37276b899621eb69b7984 /monzo_ynab/main.go
parent938c1a4eb06a37cb0eec7e31b392bb0c3a843d4b (diff)
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.
Diffstat (limited to 'monzo_ynab/main.go')
-rw-r--r--monzo_ynab/main.go4
1 files changed, 2 insertions, 2 deletions
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 (