diff options
author | 2022-11-02 19:37:06 -0700 | |
---|---|---|
committer | 2022-11-02 19:37:06 -0700 | |
commit | ab4e6624842fe4fb18a1514ef45acd7d26f31d07 (patch) | |
tree | 30b76619d2ac83ea50c845041aeb5b34c14684e3 | |
parent | 35ba83584f79808a51193812ab7715b339d9dcb4 (diff) | |
download | bun-ab4e6624842fe4fb18a1514ef45acd7d26f31d07.tar.gz bun-ab4e6624842fe4fb18a1514ef45acd7d26f31d07.tar.zst bun-ab4e6624842fe4fb18a1514ef45acd7d26f31d07.zip |
Update ZigGlobalObject.cpp
-rw-r--r-- | src/bun.js/bindings/ZigGlobalObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.cpp b/src/bun.js/bindings/ZigGlobalObject.cpp index 0bcaaa732..637a06ed8 100644 --- a/src/bun.js/bindings/ZigGlobalObject.cpp +++ b/src/bun.js/bindings/ZigGlobalObject.cpp @@ -2737,7 +2737,7 @@ void GlobalObject::installAPIGlobals(JSClassRef* globals, int count, JSC::VM& vm Crypto__randomUUID__put(this, JSValue::encode(object)); object->putDirectCustomAccessor(vm, JSC::Identifier::fromString(vm, "subtle"_s), JSC::CustomGetterSetter::create(vm, getterSubtleCrypto, nullptr), JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::DontDelete | 0); - this->putDirect(vm, JSC::Identifier::fromString(vm, "Crypto"_s), object, JSC::PropertyAttribute::DontDelete | 0); + this->putDirect(vm, JSC::Identifier::fromString(vm, "crypto"_s), object, JSC::PropertyAttribute::DontDelete | 0); } for (j = 2; j < count - 1; j++) { |