File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -248,10 +248,10 @@ class Issue extends Requestable {
248
248
}
249
249
250
250
/**
251
- * Add label to an issue
251
+ * Add a label to an issue
252
252
* @see https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue
253
253
* @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
255
255
* @param {Requestable.callback } [cb] - will receive the status
256
256
* @return {Promise } - the promise for the http request
257
257
*/
@@ -260,10 +260,10 @@ class Issue extends Requestable {
260
260
}
261
261
262
262
/**
263
- * Add label to an issue
263
+ * Remove a label to an issue
264
264
* @see https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue
265
265
* @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
267
267
* @param {Requestable.callback } [cb] - will receive the status
268
268
* @return {Promise } - the promise for the http request
269
269
*/
You can’t perform that action at this time.
0 commit comments