marocchino-sticky-pull-requ.../node_modules/@octokit/request/dist-src/index.js
2020-11-05 03:41:39 +09:00

9 lines
327 B
JavaScript

import { endpoint } from "@octokit/endpoint";
import { getUserAgent } from "universal-user-agent";
import { VERSION } from "./version";
import withDefaults from "./with-defaults";
export const request = withDefaults(endpoint, {
headers: {
"user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`,
},
});