mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-10 13:14:04 +03:00
use getOrCreate correctly by passing in an undefined thread name as the second argument
This commit is contained in:
parent
43a6733f86
commit
82cbca5e5d
@ -194,7 +194,7 @@ export const getBucketAPIFromUserToken = async ({ user, bucketName, encrypted =
|
||||
let root = null;
|
||||
console.log(`[ buckets ] getOrCreate init ${name}`);
|
||||
try {
|
||||
const created = await buckets.getOrCreate(name, encrypted);
|
||||
const created = await buckets.getOrCreate(name, undefined, encrypted);
|
||||
root = created.root;
|
||||
} catch (e) {
|
||||
console.log(`[ textile ] warning: ${e.message}`);
|
||||
|
Loading…
Reference in New Issue
Block a user