Skip to content

Commit

Permalink
Resolve #95
Browse files Browse the repository at this point in the history
  • Loading branch information
Akianonymus committed Jul 26, 2020
1 parent 128608d commit 9c964a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sh/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ _check_credentials() {
--data "code=${CODE}&client_id=${CLIENT_ID}&client_secret=${CLIENT_SECRET}&redirect_uri=${REDIRECT_URI}&grant_type=authorization_code" "${TOKEN_URL}")" || :
REFRESH_TOKEN="$(printf "%s\n" "${RESPONSE}" | _json_value refresh_token 1 1 || :)"
_get_token_and_update && _update_config REFRESH_TOKEN "${REFRESH_TOKEN}" "${CONFIG}"
_get_token_and_update "${RESPONSE}" && _update_config REFRESH_TOKEN "${REFRESH_TOKEN}" "${CONFIG}"
fi
}
Expand Down

0 comments on commit 9c964a9

Please sign in to comment.