Skip to content

Adjust BackgroundService to only remove availabilities without an appointment #79

@iKingCold

Description

@iKingCold

Right now all old availabilities are removed on startup & after 12am.
This removes booked availabilities so that caregivers can't change their status.

  • Adjust the BackgroundService to only remove AvailableSlots that doesn't have an appointment.
    This can be achieved by .where(a => a.IsBooked != true).

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions