diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-06-21 11:31:31 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-06-21 11:32:48 +0800 |
commit | 73bdc4f9413760dac5df5efe66832532ccb8041a (patch) | |
tree | a71c5f9ecee2fdffe874e05f5080a579f77decd7 | |
parent | ef7615444b902f1cc1741e0ee9a7eb7ba18cdd46 (diff) |
update
-rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -402,7 +402,7 @@ _fetch_gists() { | |||
402 | 402 | ||
403 | # set global variable HEADER in http_method, so prevent using pipe | 403 | # set global variable HEADER in http_method, so prevent using pipe |
404 | HEADER=$(tmp_file HEADER) | 404 | HEADER=$(tmp_file HEADER) |
405 | HEADER=$HEADER http_method GET $GITHUB_API/$route${1} | _parse_response | 405 | http_method GET $GITHUB_API/$route${1} | _parse_response |
406 | } | 406 | } |
407 | 407 | ||
408 | # consider if HEADER is not exist | 408 | # consider if HEADER is not exist |