Skip to content

Commit 3dc2603

Browse files
bghgaryCopilot
andauthored
Update Core/Node-API-JSI/Include/napi/napi-inl.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5c9e19f commit 3dc2603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Node-API-JSI/Include/napi/napi-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ inline Error::Error(napi_env env, jsi::Object object)
15701570
}
15711571

15721572
inline Error::Error(napi_env env, jsi::Value value)
1573-
: ObjectReference{env, value.getObject(env->rt)} {
1573+
: ObjectReference{env, value.asObject(env->rt)} {
15741574
}
15751575

15761576
inline Error::Error(Error&& other)

0 commit comments

Comments
 (0)