stable

Clone or download

Read-only

Raise 400 if users tries to create an empty label

This is part of story #10498: Add labels on pull requests .. IMPORTANT: https://gerrit.tuleap.net/9399 is needed for this commit If you try the following: PATCH pull_requests/:id/labels { "add": [ "label": " " ] } Then the label should not be created and you should get a 400. Change-Id: I0f3db0ac9b7adf72fec39db29bffec15b2b5e16f

Modified Files

Name
M include/PullRequest/REST/v1/PullRequestsResource.php +3 −0 Go to diff View file