MCPcopy Create free account
hub / github.com/EsperoTech/yaade / currentRestRequestToRequest

Function currentRestRequestToRequest

client/src/utils/index.tsx:167–175  ·  view source on GitHub ↗
(currentRequest: CurrentRestRequest)

Source from the content-addressed store, hash-verified

165}
166
167function currentRestRequestToRequest(currentRequest: CurrentRestRequest): RestRequest {
168 return {
169 id: currentRequest.id,
170 collectionId: currentRequest.collectionId,
171 type: currentRequest.type,
172 version: currentRequest.version,
173 data: { ...currentRequest.data },
174 };
175}
176
177function extractAuthorizationHeader(auth: AuthData): string | undefined {
178 if (!auth || !auth.enabled) return;

Callers 1

handleSendButtonClickFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected