MCPcopy Create free account
hub / github.com/remix-run/react-router / requestOptions

Function requestOptions

scripts/utils/github.ts:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16function requestOptions() {
17 return {
18 owner: OWNER,
19 repo: REPO,
20 headers: { authorization: `token ${getToken()}` },
21 };
22}
23
24export type CreateReleaseResult =
25 | { status: "created"; url: string }

Callers 14

releaseExistsFunction · 0.85
createReleaseFunction · 0.85
listOpenPrsFunction · 0.85
findOpenPrFunction · 0.85
createPrFunction · 0.85
updatePrFunction · 0.85
closePrFunction · 0.85
getPrCommentsFunction · 0.85
createPrCommentFunction · 0.85
updatePrCommentFunction · 0.85
getPrFilesFunction · 0.85
deletePrCommentFunction · 0.85

Calls 1

getTokenFunction · 0.85

Tested by

no test coverage detected