Files
release-action/node_modules/@octokit/endpoint/dist-src/defaults.js
Nick Cipollo 6c34249ffc
Some checks failed
PR Checks / check_pr (push) Has been cancelled
Prepare 1.6.1 release
2020-03-05 13:25:53 -05:00

16 lines
411 B
JavaScript

import getUserAgent from "universal-user-agent";
import { VERSION } from "./version";
const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;
export const DEFAULTS = {
method: "GET",
baseUrl: "https://api.github.com",
headers: {
accept: "application/vnd.github.v3+json",
"user-agent": userAgent
},
mediaType: {
format: "",
previews: []
}
};