Skip to content

Commit 4fbc7bd

Browse files
committed
Update comments
1 parent 345fd2d commit 4fbc7bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Issue.js

+4-4
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,10 +260,10 @@ class Issue extends Requestable {
260260
}
261261

262262
/**
263-
* Add label to an issue
263+
* Remove a label to 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
266-
* @param {string} label - the name of the label to remove to the issue
266+
* @param {array} label - the names of the label to remove to the issue
267267
* @param {Requestable.callback} [cb] - will receive the status
268268
* @return {Promise} - the promise for the http request
269269
*/

0 commit comments

Comments
 (0)