diff options
author | gumi <git@gumi.ca> | 2018-07-05 16:44:23 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-07-05 16:44:23 -0400 |
commit | fe57befc4c917d20289f0e73bf4133417533b60e (patch) | |
tree | 6ec2c3b98a494e41a6b44a414c9d780ef7819554 /herculeswrapper/herc-map-wrapper-config.example | |
parent | 8c28fe458f5b73f8e26c7a154e31d1d74da943eb (diff) | |
download | evol-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/herc-map-wrapper-config.example')
-rw-r--r-- | herculeswrapper/herc-map-wrapper-config.example | 2 |
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"]: |