mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-27 02:52:25 +03:00
user delete: dedupes variable name
This commit is contained in:
parent
ff88975ece
commit
0a6fb904b2
@ -33,7 +33,7 @@ export default async (req, res) => {
|
|||||||
await Data.deleteAPIKeysForUserId({ userId: user.id });
|
await Data.deleteAPIKeysForUserId({ userId: user.id });
|
||||||
await Data.deleteSlatesForUserId({ userId: user.id });
|
await Data.deleteSlatesForUserId({ userId: user.id });
|
||||||
|
|
||||||
const i = await PrivateKey.fromString(user.data.tokens.api);
|
const k = await PrivateKey.fromString(user.data.tokens.api);
|
||||||
const b = await Buckets.withKeyInfo(TEXTILE_KEY_INFO);
|
const b = await Buckets.withKeyInfo(TEXTILE_KEY_INFO);
|
||||||
const defaultData = await Utilities.getBucketAPIFromUserToken({ user });
|
const defaultData = await Utilities.getBucketAPIFromUserToken({ user });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user