Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: req.id undefined issues
Andrew Bastincb9aa33ad0cb
diff --git a/helpers/types/HoppRESTRequest.ts b/helpers/types/HoppRESTRequest.tsindex e1f55eefb..d7cabac16 100644--- a/helpers/types/HoppRESTRequest.ts+++ b/helpers/types/HoppRESTRequest.ts@@ -127,9 +127,10 @@ export function translateToNewRequest(x: any): HoppRESTRequest {body,auth,v: RESTReqSchemaVersion,- id: x.id, // Pass-through Firebase Firestore ID}+ if (x.id) result.id = x.id+return result}}