Skip to content

Commit

Permalink
Correct $gte to $eq
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehard committed Feb 3, 2021
1 parent 92b0970 commit a305d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/BirthDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const BirthDateController = {
await Employee.findAll({
where: {
birthDate: {
$gte: moment().toDate(),
$eq: moment().toDate(),
},
},
}).then((data) => {
Expand Down

0 comments on commit a305d5d

Please sign in to comment.