diff --git a/core/core.js b/core/core.js index 7aed4982..78e19096 100644 --- a/core/core.js +++ b/core/core.js @@ -512,7 +512,7 @@ async function getProcessBlob(blobId, key, options) { print('Done.'); }; imports.core.deleteUser = async function (user) { - await imports.core.permissionTest('delete_user') + await imports.core.permissionTest('delete_user'); let db = new Database('auth'); db.remove('user:' + user); let users = new Set(); diff --git a/src/ssb.rpc.c b/src/ssb.rpc.c index 9282b3c1..d4470cea 100644 --- a/src/ssb.rpc.c +++ b/src/ssb.rpc.c @@ -81,7 +81,6 @@ static void _tf_ssb_rpc_blobs_get_work(tf_ssb_connection_t* connection, void* us blobs_get_work_t* work = user_data; tf_ssb_t* ssb = tf_ssb_connection_get_ssb(connection); work->found = tf_ssb_db_blob_get(ssb, work->id, &work->blob, &work->size); - } static void _tf_ssb_rpc_blobs_get_after_work(tf_ssb_connection_t* connection, int status, void* user_data)