fix: req.id undefined issues
This commit is contained in:
@@ -127,9 +127,10 @@ export function translateToNewRequest(x: any): HoppRESTRequest {
|
|||||||
body,
|
body,
|
||||||
auth,
|
auth,
|
||||||
v: RESTReqSchemaVersion,
|
v: RESTReqSchemaVersion,
|
||||||
id: x.id, // Pass-through Firebase Firestore ID
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (x.id) result.id = x.id
|
||||||
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user