Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Oct 21, 2024
1 parent 0555353 commit 90769f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/fastly/builtins/backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,7 @@ JSObject *Backend::create(JSContext *cx, JS::HandleObject request) {
host_api::BackendConfig backend_config = default_backend_config.clone();

JS::RootedValue name(cx, JS::StringValue(name_js_str));
JS::SetReservedSlot(request, static_cast<uint32_t>(Request::Slots::Backend), name);
auto host_backend = set_backend(cx, backend, name);
if (!host_backend) {
return nullptr;
Expand Down

0 comments on commit 90769f0

Please sign in to comment.