Skip to content

Commit 3049c90

Browse files
Update src/metadata.ts
Co-authored-by: Eduardo Bouças <[email protected]>
1 parent 1be9a0d commit 3049c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const getMetadataFromResponse = (response: Response) => {
4141

4242
// If metadata is coming from the API, it will be under the external header.
4343
// If it's coming from the edge, it will be under the internal header.
44-
const value = response.headers.get(METADATA_HEADER_INTERNAL) || response.headers.get(METADATA_HEADER_EXTERNAL)
44+
const value = response.headers.get(METADATA_HEADER_EXTERNAL) || response.headers.get(METADATA_HEADER_INTERNAL)
4545

4646
try {
4747
return decodeMetadata(value)

0 commit comments

Comments
 (0)