diff options
| author | 2018-12-11 22:40:20 +0000 | |
|---|---|---|
| committer | 2018-12-11 22:40:20 +0000 | |
| commit | 843d517553ddd9125d627c012362dd3ddacfaceb (patch) | |
| tree | 3cf8d79e16691d5fb302fc1c234bd804dac12097 | |
| parent | Typo in utils.http.request, 'response_heders' -> 'response_headers' (diff) | |
| signature | ||
'utils.http.get_url' -> 'utils.http.request' (github.py)
| -rw-r--r-- | modules/github.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py index 73064e7d..c26f7863 100644 --- a/modules/github.py +++ b/modules/github.py @@ -105,7 +105,7 @@ class Module(ModuleManager.BaseModule): return "" def _short_url(self, url): - page = utils.http.get_url("https://git.io", method="POST", + page = utils.http.request("https://git.io", method="POST", post_data={"url": url}) return page.headers["Location"] |
