fix(code): add const

Signed-off-by: Andrew Hill <andrew@textile.io>
This commit is contained in:
Andrew Hill 2020-09-22 15:08:15 -07:00
parent 5cc3cc0f7e
commit ce39de2b25
No known key found for this signature in database
GPG Key ID: B8929C9860377979

View File

@ -145,7 +145,7 @@ export const getBucketAPIFromUserToken = async (token, user) => {
}
const newId = ThreadID.fromRandom()
await client.newDB(newId, 'buckets')
threadID = newId.toString()
const threadID = newId.toString()
buckets.withThread(threadID)
console.log(`[buckets] newDB success ${newId.toString()}`);
}