MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / genKey

Function genKey

web/src/helpers/api.js:19–22  ·  view source on GitHub ↗
(url, config = {})

Source from the content-addressed store, hash-verified

17 const inFlightGetRequests = new Map();
18
19 const genKey = (url, config = {}) => {
20 const params = config.params ? JSON.stringify(config.params) : '{}';
21 return `${url}?${params}`;
22 };
23
24 instance.get = (url, config = {}) => {
25 if (config?.disableDuplicate) {

Callers 1

patchAPIInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected