Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Oct 11, 2024
1 parent 2b1862d commit c5ca088
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/fastly/builtins/fetch/request-response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,8 @@ JSObject *Request::headers(JSContext *cx, JS::HandleObject obj) {
if (!headers) {
MOZ_ASSERT(is_instance(obj));
if (is_downstream(obj)) {
headers = Headers::create(cx, request_handle(obj).headers(), Headers::HeadersGuard::Immutable);
headers =
Headers::create(cx, request_handle(obj).headers(), Headers::HeadersGuard::Immutable);
} else {
headers = Headers::create(cx, Headers::HeadersGuard::Request);
}
Expand Down

0 comments on commit c5ca088

Please sign in to comment.