Skip to content

Commit

Permalink
correct the env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Jun 21, 2019
1 parent c89a03c commit e202641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run
Expand Up @@ -14,9 +14,9 @@ if [ "$code" == "unauthorized.bad_access_token.expired" ]; then
"client_secret=$client_secret" \
"refresh_token=$refresh_token")
echo $response
activity_token=$(echo $response | jq -r .access_token)
access_token=$(echo $response | jq -r .access_token)
refresh_token=$(echo $response | jq -r .refresh_token)
echo "activity_token=\"$activity_token\"" >> .env
echo "access_token=\"$access_token\"" >> .env
echo "refresh_token=\"$refresh_token\"" >> .env
fi
current_pot_value=$(echo -n $pots | jq ".pots[] | select(.id==\"$pot_id\") | .balance")
Expand Down

0 comments on commit e202641

Please sign in to comment.