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 88
88
end
89
89
90
90
@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... )
92
92
return map (Owner, results), page_data
93
93
end
94
94
112
112
end
113
113
114
114
@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 " ]
117
117
end
118
118
119
119
# stats #
You can’t perform that action at this time.
0 commit comments