change-string-case/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js

10 lines
249 B
JavaScript
Raw Permalink Normal View History

2023-10-26 04:27:07 +08:00
import { DEFAULTS } from "./defaults";
2022-11-04 00:55:07 +08:00
import { merge } from "./merge";
import { parse } from "./parse";
2023-10-26 04:27:07 +08:00
function endpointWithDefaults(defaults, route, options) {
return parse(merge(defaults, route, options));
2022-11-04 00:55:07 +08:00
}
2023-10-26 04:27:07 +08:00
export {
endpointWithDefaults
};