Skip to content

Commit f9db695

Browse files
committed
Update comments
1 parent 345fd2d commit f9db695

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Issue.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ class Issue extends Requestable {
248248
}
249249

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

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

0 commit comments

Comments
 (0)