summaryrefslogtreecommitdiff
path: root/herculeswrapper
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-07-05 16:44:23 -0400
committergumi <git@gumi.ca>2018-07-05 16:44:23 -0400
commitfe57befc4c917d20289f0e73bf4133417533b60e (patch)
tree6ec2c3b98a494e41a6b44a414c9d780ef7819554 /herculeswrapper
parent8c28fe458f5b73f8e26c7a154e31d1d74da943eb (diff)
downloadevol-tools-fe57befc4c917d20289f0e73bf4133417533b60e.tar.gz
evol-tools-fe57befc4c917d20289f0e73bf4133417533b60e.tar.bz2
evol-tools-fe57befc4c917d20289f0e73bf4133417533b60e.tar.xz
evol-tools-fe57befc4c917d20289f0e73bf4133417533b60e.zip
what a surprisingly seamless transition this is
Diffstat (limited to 'herculeswrapper')
-rw-r--r--herculeswrapper/herc-map-wrapper-config.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/herculeswrapper/herc-map-wrapper-config.example b/herculeswrapper/herc-map-wrapper-config.example
index b3afd8d..00bfe8b 100644
--- a/herculeswrapper/herc-map-wrapper-config.example
+++ b/herculeswrapper/herc-map-wrapper-config.example
@@ -24,7 +24,7 @@ python -c '
oauth = "01234567890123456789"
import requests
-issues = requests.get("https://gitlab.com/api/v3/projects/%d/merge_requests" % '$1', params={"state": "opened"}, headers={"PRIVATE-TOKEN": "%s" % oauth, "Accept": "application/vnd.gitlab.v3+json"})
+issues = requests.get("https://gitlab.com/api/v4/projects/%d/merge_requests" % '$1', params={"state": "opened"}, headers={"PRIVATE-TOKEN": "%s" % oauth, "Accept": "application/vnd.gitlab.v4+json"})
issues.raise_for_status()
for issue in issues.json():
if "test" in issue["labels"]: