Skip to content

Commit b0efe20

Browse files
authored
fix: surrogateKeys not being added when using CoreCache (#1219)
1 parent a15fa61 commit b0efe20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/fastly/builtins/cache-core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ JS::Result<host_api::CacheWriteOptions> parseTransactionUpdateOptions(JSContext
242242
}
243243
if (!surrogateKeys_val.isUndefined()) {
244244
JS::ForOfIterator it(cx);
245-
if (!it.init(vary_val)) {
245+
if (!it.init(surrogateKeys_val)) {
246246
return JS::Result<host_api::CacheWriteOptions>(JS::Error());
247247
}
248248

0 commit comments

Comments
 (0)