1
0
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 03:35:55 +01:00
gitea/routers/api
Norwin 658d1bfac8
API: fix set milestone on PR creation (#14981)
* API: fix set milestone on PR creation

pr creation via API failed with 404, because we searched
for milestoneID 0, due to uninitialized var usage D:

* add tests

* fix expected status codes

* fix tests

Co-authored-by: 6543 <6543@obermui.de>
2021-03-13 19:06:52 +01:00
..
v1 API: fix set milestone on PR creation (#14981) 2021-03-13 19:06:52 +01:00