Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update comments
  • Loading branch information
asmsuechan committed Jul 11, 2017
commit f9db695c2e86de6a696e08d3e87c600bbbfe56d3
6 changes: 3 additions & 3 deletions lib/Issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ class Issue extends Requestable {
}

/**
* Add label to an issue
* Add a label to an issue
* @see https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue
* @param {number} issue - the id of the issue to comment on
* @param {string} label - the name of the label to add to the issue
* @param {array} label - the names of the label to add to the issue
* @param {Requestable.callback} [cb] - will receive the status
* @return {Promise} - the promise for the http request
*/
Expand All @@ -260,7 +260,7 @@ class Issue extends Requestable {
}

/**
* Add label to an issue
* Remove a label from an issue
* @see https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue
* @param {number} issue - the id of the issue to comment on
* @param {string} label - the name of the label to remove to the issue
Expand Down