Skip to content
Permalink
Newer
Older
100644 9 lines (9 sloc) 327 Bytes
Ignoring revisions in .git-blame-ignore-revs.
1
import { endpoint } from "@octokit/endpoint";
2
import { getUserAgent } from "universal-user-agent";
3
import { VERSION } from "./version";
4
import withDefaults from "./with-defaults";
5
export const request = withDefaults(endpoint, {
6
headers: {
7
"user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`,
8
},