Files
73c2d634b1 fix: remove traceparent from cachekey should not remove traceparent from original object (#64727)
### What?

I submitted PR #64499 , it got merged, but it contains a mistake.
I'm terribly sorry about this!

By removing the traceparent from the cachekey, we mistakenly removed the
header from the original object.
Causing the actual request to be executed without the traceparent
header.

### Why?

Creating a cachekey should not alter the original object.

### How?

Flip the arguments for Object.assign

---------

Co-authored-by: Jeffrey <[email protected]>
Co-authored-by: JJ Kasper <[email protected]>
2024-04-23 17:34:18 +02:00
..
2024-04-17 11:55:32 -07:00
…

See Testing for more information on how you can run/write/debug tests for Next.js.