Skip to content

Fix 500 error on event_type_available_times, user_busy_times endpoints + user busy times component css fix#76

Open
lgargantini wants to merge 3 commits intocalendly:mainfrom
lgargantini:main
Open

Fix 500 error on event_type_available_times, user_busy_times endpoints + user busy times component css fix#76
lgargantini wants to merge 3 commits intocalendly:mainfrom
lgargantini:main

Conversation

@lgargantini
Copy link

@lgargantini lgargantini commented Jul 2, 2024

Fix 500 error on event_type_available_times and user_busy_times + user busy times component fix

BE: event_type_available_times and user_busy_times endpoints are expecting ISO format with 6 milliseconds fragment decimals: e.g.: YYYY-MM-DDTHH:mm:ss.ssssssZ (docs) but current code is using toISOString() for date conversion, which by default brings 3 milliseconds fragments decimals (YYYY-MM-DDTHH:mm:ss.sssZ), throwing an 500 validation error.

FE: User Busy times component presents an error on the main class:

Before

Screenshot 2024-07-02 at 10 59 26 PM ## After Screenshot 2024-07-02 at 10 59 48 PM

@lgargantini lgargantini changed the title Fix 500 error on event_type_available_times, user_busy_times endpoints Fix 500 error on event_type_available_times, user_busy_times endpoints + user busy times component css fix Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant