From 152c893a6fe354d45db2e39e916a2172e0ee2af5 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Thu, 7 Sep 2023 22:44:18 +0000 Subject: [PATCH] Fix wrong argument count on ssb.blobStore. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4454 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/ssb.js.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssb.js.c b/src/ssb.js.c index e4565a8b..c21234b1 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -1476,7 +1476,7 @@ void tf_ssb_register(JSContext* context, tf_ssb_t* ssb) JS_SetPropertyStr(context, object, "createTunnel", JS_NewCFunction(context, _tf_ssb_createTunnel, "createTunnel", 3)); /* Write. */ JS_SetPropertyStr(context, object, "storeMessage", JS_NewCFunction(context, _tf_ssb_storeMessage, "storeMessage", 1)); - JS_SetPropertyStr(context, object, "blobStore", JS_NewCFunction(context, _tf_ssb_blobStore, "blobStore", 2)); + JS_SetPropertyStr(context, object, "blobStore", JS_NewCFunction(context, _tf_ssb_blobStore, "blobStore", 1)); /* Should be trusted only. */ JS_SetPropertyStr(context, object, "addEventListener", JS_NewCFunction(context, _tf_ssb_add_event_listener, "addEventListener", 2));