diff options
-rw-r--r-- | monzo_ynab/.envrc | 5 | ||||
-rw-r--r-- | monzo_ynab/main.go | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/monzo_ynab/.envrc b/monzo_ynab/.envrc index 121cc134de18..322e99ad6b35 100644 --- a/monzo_ynab/.envrc +++ b/monzo_ynab/.envrc @@ -5,6 +5,7 @@ # definitions inside of the attribute set passed to pkgs.mkShell become # available here as well. source_up -export client_id="$(pass show finance/monzo/client-id)" -export client_secret="$(pass show finance/monzo/client-secret)" +export monzo_client_id="$(pass show finance/monzo/client-id)" +export monzo_client_secret="$(pass show finance/monzo/client-secret)" +export ynab_personal_access_token="$(pass show finance/youneedabudget.com/personal-access-token)" eval "$(lorri direnv)" 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 ( |