MCPcopy Create free account
hub / github.com/RealDevSquad/website-backend / getFetchWithAuthToken

Function getFetchWithAuthToken

services/githubService.js:106–108  ·  view source on GitHub ↗

* Create fetch call for GitHub APIs as an authenticated user * @param {*} url - url to fetch from * @param {*} params - query params to pass * @param {*} headers - requested headers * @returns response object

(url, params = null, headers = null)

Source from the content-addressed store, hash-verified

104 * @returns response object
105 */
106function getFetchWithAuthToken(url, params = null, headers = null) {
107 return utils.fetch(url, "get", params, null, headers);
108}
109/**
110 * Fetches the pull requests in Real-Dev-Squad by user using GitHub API
111 * @param username {string} - Username String

Callers 1

fetchIssuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected