Can not remove issue label through API
Created by: sue445
Hello
Can not remove issue label through API (v6.5.1)
current issue labels
[3] pry(main)> Gitlab.issue(1, 1).labels
=> ["in progress"]
I want to remove this in progress
label
[4] pry(main)> Gitlab.edit_issue(1, 1, labels: nil)
I, [2014-02-09T01:31:39.305782 #9309] INFO -- : CONNECT: ["git.example.com", 80]
I, [2014-02-09T01:31:39.305881 #9309] INFO -- : PUT /api/v3/projects/1/issues/1?private_token=xxxxxxxxxxxxxxx
I, [2014-02-09T01:31:39.409205 #9309] INFO -- : PARAMS {"labels"=>[""]}
I, [2014-02-09T01:31:39.409311 #9309] INFO -- : BODY: Net::HTTPOK
but can not remove label.
[5] pry(main)> Gitlab.issue(1, 1).labels
=> ["in progress"]
Is this bug or specification?