Skip to content

Commit

Permalink
Add logging for appointment_date_str type
Browse files Browse the repository at this point in the history
  • Loading branch information
staging-devin-ai-integration[bot] committed Jul 1, 2024
1 parent 9988d5c commit 011dc90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions appointments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def create_appointment(request):
doctor_id = data.get('doctor_id')
patient_id = data.get('patient_id')
appointment_date_str = data.get('appointment_date')
logger.info(f"Type of appointment_date_str: {type(appointment_date_str)}")
appointment_date = parse_datetime(appointment_date_str) if appointment_date_str else None
symptoms = data.get('symptoms')

Expand Down

0 comments on commit 011dc90

Please sign in to comment.