Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgi-o committed Mar 31, 2023
1 parent 9d149b1 commit d43f745
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions misc/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export const loadConfig = (filename="config.json") => {
loadedConfig.fetchSkinPrices = loadedConfig.showSkinPrices;
loadedConfig.fetchSkinRarities = loadedConfig.showSkinRarities;



applyConfig(loadedConfig, "token", "token goes here");
applyConfig(loadedConfig, "fetchSkinPrices", true);
applyConfig(loadedConfig, "fetchSkinRarities", true);
Expand Down
2 changes: 1 addition & 1 deletion valorant/authQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const queue2FACodeRedeem = async (id, code) => {
}

export const queueCookiesLogin = async (id, cookies) => {
if(!config.useLoginQueue) await redeemCookies(id, cookies);
if(!config.useLoginQueue) return await redeemCookies(id, cookies);
if(useMultiqueue()) return {inQueue: false, ...await mqLoginCookies(id, cookies)};

const c = queueCounter++;
Expand Down

0 comments on commit d43f745

Please sign in to comment.