diff --git a/src/ssb.js.c b/src/ssb.js.c index af396f98..464021d0 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -272,7 +272,7 @@ static JSValue _tf_ssb_getPrivateKey(JSContext* context, JSValueConst this_val, static JSValue _tf_ssb_getServerIdentity(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv) { - JSValue result = JS_NewArray(context); + JSValue result = JS_UNDEFINED; tf_ssb_t* ssb = JS_GetOpaque(this_val, _tf_ssb_classId); if (ssb) {