firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

Return the RequestResponse instead of just awaiting and discarding

Open seaders opened this issue 1 year ago • 0 comments

The response's data here contains data of the created Task which is vital for identifying purposes like deleting the task later, it makes no sense to just discard, and is different to what occurs with the cloud task library.

I opened a discussion about this: https://github.com/firebase/firebase-admin-node/issues/2791

But, after being extremely blocked by this issue, I remade the client for local tests, and confirmed that just returning the request gives everything needed.

Testing

All tests passed.

seaders avatar Nov 28 '24 12:11 seaders