File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8888end
8989
9090@api_default function collaborators (api:: GitHubAPI , repo; options... )
91- results, page_data = gh_get_json (api, " /repos/$(name (repo)) /collaborators" ; options... )
91+ results, page_data = gh_get_paged_json (api, " /repos/$(name (repo)) /collaborators" ; options... )
9292 return map (Owner, results), page_data
9393end
9494
112112end
113113
114114@api_default function collaborator_permission (api:: GitHubAPI , repo, user; options... )
115- results, page_data = gh_get_json (api, " /repos/$(name (repo)) /collaborators/$(name (user)) /permission" ; options... )
116- return results[2 ]
115+ results, page_data = gh_get_paged_json (api, " /repos/$(name (repo)) /collaborators/$(name (user)) /permission" ; options... )
116+ return results[" permission " ]
117117end
118118
119119# stats #
You can’t perform that action at this time.
0 commit comments