Skip to content

Commit

Permalink
~deploy~ / fix: removed unused condition
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasAndreano committed Nov 13, 2023
1 parent 0e818f9 commit 6fa2899
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tasks/token-updater/token-updater.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ export class TokenUpdaterService {
let access_token;
let attempts = 0;

while (true) {
if (attempts > 20) break;

while (attempts <= 20) {
try {
access_token = await getQiwiToken(el.phone, el.password);

Expand Down

0 comments on commit 6fa2899

Please sign in to comment.