quintana0004 / Electro-Cool-App

0 stars 0 forks source link

Backend/current plus 2 get all appointments #303

Closed mikeNegron closed 1 year ago

mikeNegron commented 1 year ago

A change to findAllAppointments was requested so it would look at the current month plus 2 months ahead.

Change was implemented but keep in mind that following the "2022-03-25T10:51:00.000Z" format means we only look from this day/month + 2. Lmk if changes need to be made if the scope of the change was to include day 1 of month x to FINAL day of month x + 2.

Implementation was tested in postman. Was tested with 5 appointments with incrementing months and upon request, 3 appointments were returned in accordance with implementation request.