forked from cory/tildefriends
Oops.
This commit is contained in:
parent
d47c3a1222
commit
9de8b0f449
@ -512,7 +512,7 @@ async function getProcessBlob(blobId, key, options) {
|
|||||||
print('Done.');
|
print('Done.');
|
||||||
};
|
};
|
||||||
imports.core.deleteUser = async function (user) {
|
imports.core.deleteUser = async function (user) {
|
||||||
await imports.core.permissionTest('delete_user')
|
await imports.core.permissionTest('delete_user');
|
||||||
let db = new Database('auth');
|
let db = new Database('auth');
|
||||||
db.remove('user:' + user);
|
db.remove('user:' + user);
|
||||||
let users = new Set();
|
let users = new Set();
|
||||||
|
@ -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;
|
blobs_get_work_t* work = user_data;
|
||||||
tf_ssb_t* ssb = tf_ssb_connection_get_ssb(connection);
|
tf_ssb_t* ssb = tf_ssb_connection_get_ssb(connection);
|
||||||
work->found = tf_ssb_db_blob_get(ssb, work->id, &work->blob, &work->size);
|
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)
|
static void _tf_ssb_rpc_blobs_get_after_work(tf_ssb_connection_t* connection, int status, void* user_data)
|
||||||
|
Loading…
Reference in New Issue
Block a user