aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2021-05-31 03:44:34 +0300
committerkongr45gpen <electrovesta@gmail.com>2021-05-31 03:44:34 +0300
commit0982563ddfbb200adf7a425857a74b4d6128039d (patch)
tree5fca2577a007ee00b7bc4d2149063e62e5b95a4b
parentfd6622b872fce1300d0d2043d3ed3bba15c7759c (diff)
downloadsupybot_github-0982563ddfbb200adf7a425857a74b4d6128039d.tar.gz
supybot_github-0982563ddfbb200adf7a425857a74b4d6128039d.tar.bz2
supybot_github-0982563ddfbb200adf7a425857a74b4d6128039d.zip
Minor fixes
-rwxr-xr-xrequest.sh2
-rw-r--r--samples/gitlab-push.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/request.sh b/request.sh
index cf81721..6c732cf 100755
--- a/request.sh
+++ b/request.sh
@@ -9,4 +9,4 @@ echo $hash
echo -n "$DATA" > ~/repos/supybot-github/cmpr
-curl --header "X-GitHub-Event: $1" --header "X-Hub-Signature: sha1=$hash" --header "X-GitHub-Delivery: nil" --data "$DATA" http://localhost:8093/
+curl --header "X-GitHub-Event: $1" --header "X-Hub-Signature: sha1=$hash" --header "X-GitHub-Delivery: nil" --data-urlencode "$DATA" http://localhost:8093/
diff --git a/samples/gitlab-push.json b/samples/gitlab-push.json
index c28709b..557fbe0 100644
--- a/samples/gitlab-push.json
+++ b/samples/gitlab-push.json
@@ -103,4 +103,5 @@
"user_id": 3637,
"user_name": "kongr45gpen",
"user_username": "kongr45gpen"
-} \ No newline at end of file
+}
+

© 2014-2024 Faster IT GmbH | imprint | privacy policy