Skip to content

Commit

Permalink
fix these reasons didn't appeared
Browse files Browse the repository at this point in the history
  • Loading branch information
idinium96 committed Aug 4, 2020
1 parent 8a06421 commit c2a2bf9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/classes/MyHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,9 @@ export = class MyHandler extends Handler {
}
} catch (err) {
log.warn('Failed to check escrow: ', err);
wrongAboutOffer.push({
reason: '⬜STEAM_DOWN'
});
const reasons = wrongAboutOffer.map(wrong => wrong.reason);
const uniqueReasons = reasons.filter(reason => reasons.includes(reason));

Expand All @@ -972,6 +975,9 @@ export = class MyHandler extends Handler {
}
} catch (err) {
log.warn('Failed to check banned: ', err);
wrongAboutOffer.push({
reason: '⬜BACKPACKTF_DOWN'
});
const reasons = wrongAboutOffer.map(wrong => wrong.reason);
const uniqueReasons = reasons.filter(reason => reasons.includes(reason));

Expand Down

0 comments on commit c2a2bf9

Please sign in to comment.