MCPcopy Index your code
hub / github.com/seerr-team/seerr / serializeCacheKey

Method serializeCacheKey

server/api/externalapi.ts:146–155  ·  view source on GitHub ↗
(
    endpoint: string,
    options?: Record<string, unknown>
  )

Source from the content-addressed store, hash-verified

144 }
145
146 private serializeCacheKey(
147 endpoint: string,
148 options?: Record<string, unknown>
149 ) {
150 if (!options) {
151 return `${this.baseUrl}${endpoint}`;
152 }
153
154 return `${this.baseUrl}${endpoint}${JSON.stringify(options)}`;
155 }
156}
157
158export default ExternalAPI;

Callers 4

getMethod · 0.95
postMethod · 0.95
getRollingMethod · 0.95
removeCacheMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected