Skip to content

Commit a14fb95

Browse files
committed
Auto-generate sources to cleanup changes made in PR octokit#231
1 parent 09018b6 commit a14fb95

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

api/v3.0.0/orgs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,8 @@ var orgs = module.exports = {
816816
* ##### Params on the `msg` object:
817817
*
818818
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
819-
* - id (String): Required.
820-
* - user (String): Required.
819+
* - id (String): Required.
820+
* - user (String): Required.
821821
**/
822822
this.addTeamMembership = function(msg, block, callback) {
823823
var self = this;
@@ -848,7 +848,7 @@ var orgs = module.exports = {
848848
callback(null, ret);
849849
});
850850
};
851-
851+
852852
/** section: github
853853
* orgs#getTeamRepos(msg, callback) -> null
854854
* - msg (Object): Object that contains the parameters and their values to be sent to the server.

api/v3.0.0/pullRequests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ var pullRequests = module.exports = {
3030
* - user (String): Required.
3131
* - repo (String): Required.
3232
* - state (String): Optional. open, closed, or all Validation rule: ` ^(open|closed|all)$ `.
33-
* - head (String): Required. The branch (or git ref) where your changes are implemented.
34-
* - base (String): Required. The branch (or git ref) you want your changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repo that requests a merge to a base of another repo.
33+
* - head (String): Optional.
34+
* - base (String): Optional.
3535
* - page (Number): Optional. Page number of the results to fetch. Validation rule: ` ^[0-9]+$ `.
3636
* - per_page (Number): Optional. A custom page size up to 100. Default is 30. Validation rule: ` ^[0-9]+$ `.
3737
* - sort (String): Optional. Possible values are: `created`, `updated`, `popularity`, `long-running`, Default: `created` Validation rule: ` ^(created|updated|popularity|long-running)$ `.

api/v3.0.0/user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,17 @@ var user = module.exports = {
225225
callback(null, ret);
226226
});
227227
};
228-
228+
229229
/** section: github
230-
* user#editOrgMembership(msg, callback) -> null
230+
* user#editOrganizationMembership(msg, callback) -> null
231231
* - msg (Object): Object that contains the parameters and their values to be sent to the server.
232232
* - callback (Function): function to call when the request is finished with an error as first argument and result data as second argument.
233233
*
234234
* ##### Params on the `msg` object:
235235
*
236236
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
237-
* - org (String): Required.
238-
* - state (String): Required
237+
* - org (String): Required.
238+
* - state (String): Required. Validation rule: ` ^(open|closed|active)$ `.
239239
**/
240240
this.editOrganizationMembership = function(msg, block, callback) {
241241
var self = this;
@@ -266,7 +266,7 @@ var user = module.exports = {
266266
callback(null, ret);
267267
});
268268
};
269-
269+
270270
/** section: github
271271
* user#getTeams(msg, callback) -> null
272272
* - msg (Object): Object that contains the parameters and their values to be sent to the server.

0 commit comments

Comments
 (0)