From 4fbc7bd4bd0bc6fa41c5cbd369ae50a437315170 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Tue, 11 Jul 2017 21:31:42 +0900 Subject: [PATCH] Update comments --- lib/Issue.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Issue.js b/lib/Issue.js index 82ca1675..2109a864 100644 --- a/lib/Issue.js +++ b/lib/Issue.js @@ -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 */ @@ -260,10 +260,10 @@ class Issue extends Requestable { } /** - * Add label to an issue + * Remove a label to 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 + * @param {array} label - the names of the label to remove to the issue * @param {Requestable.callback} [cb] - will receive the status * @return {Promise} - the promise for the http request */