fix: req.id undefined issues
This commit is contained in:
parent
31258b1108
commit
cb9aa33ad0
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue