Skip to content

Commit

Permalink
Update wallet.controller.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g authored Nov 12, 2023
1 parent 7da7b1a commit c678ead
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/features/wallet/wallet.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,6 @@ export class WalletController {
flaskUserId,
);
purchasedNeeds.forEach((need) => {
console.log(need);

if (
userTickets.find(
(t) =>
Expand All @@ -300,11 +298,12 @@ export class WalletController {
),
)
) {
counter++;
console.log(need);
counter++;
}
});
console.log(counter);
console.log(body);
console.log(counter - body.arrivedColumnNumber === 0);

if (counter - body.arrivedColumnNumber === 0) {
throw new WalletExceptionFilter(
Expand Down

0 comments on commit c678ead

Please sign in to comment.