Skip to content

Commit

Permalink
remove unsubscribe email check
Browse files Browse the repository at this point in the history
  • Loading branch information
SamratSahoo committed Nov 13, 2024
1 parent 3718a2f commit c542714
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/src/pages/api/user/training.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export default APIWrapper({
);

if (
handler.unsubscribeEmail !== true &&
handlerAnimal &&
((handlerAnimal.totalHours < 800 &&
handlerAnimal.totalHours + trainingHours >= 800) ||
Expand All @@ -70,8 +69,8 @@ export default APIWrapper({
handlerAnimal.totalHours < 800
? "800"
: handlerAnimal.totalHours < 1600
? "1600"
: "3200",
? "1600"
: "3200",
}
);
}
Expand Down

0 comments on commit c542714

Please sign in to comment.