mirror of
https://github.com/ASzc/change-string-case-action.git
synced 2024-11-24 02:03:50 +08:00
13 lines
332 B
JavaScript
13 lines
332 B
JavaScript
import { endpoint } from "@octokit/endpoint";
|
|
import { getUserAgent } from "universal-user-agent";
|
|
import { VERSION } from "./version";
|
|
import withDefaults from "./with-defaults";
|
|
const request = withDefaults(endpoint, {
|
|
headers: {
|
|
"user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`
|
|
}
|
|
});
|
|
export {
|
|
request
|
|
};
|