Skip to content

Commit

Permalink
arrival condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Sep 20, 2023
1 parent 59dbedb commit 42bdf14
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/features/wallet/wallet.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ export class WalletController {
}
});

// if (counter - body.arrivedColumnNumber !== 0) {
// throw new WalletExceptionFilter(
// 418,
// 'You have to announce arrivals first!',
// );
// }
if (counter - body.arrivedColumnNumber !== 0) {
throw new WalletExceptionFilter(
418,
'You have to announce arrivals first!',
);
}
const flaskNeed = await this.needService.getFlaskNeed(body.flaskNeedId);
const { need, child } = await this.syncService.syncNeed(
flaskNeed,
Expand Down

0 comments on commit 42bdf14

Please sign in to comment.