user delete: dedupes variable name

This commit is contained in:
jimmylee 2020-11-04 21:39:57 -08:00
parent ff88975ece
commit 0a6fb904b2

View File

@ -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 });