MCPcopy Create free account
hub / github.com/axios/axios / getComments

Method getComments

bin/GithubAPI.js:30–32  ·  view source on GitHub ↗
(issue, {desc = false, per_page= 100, page = 1} = {})

Source from the content-addressed store, hash-verified

28 }
29
30 async getComments(issue, {desc = false, per_page= 100, page = 1} = {}) {
31 return (await this.axios.get(`/issues/${issue}/comments`, {params: {direction: desc ? 'desc' : 'asc', per_page, page}})).data;
32 }
33
34 async getComment(id) {
35 return (await this.axios.get(`/issues/comments/${id}`)).data;

Callers 1

notifyPRPublishedMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected