refactor(meetings): change UserAppointmentStatsView from GET to POST #38

Merged
Saani merged 1 commits from feature/meetings into main 2025-11-26 16:18:26 +00:00

1 Commits

Author SHA1 Message Date
ea99552d95 refactor(meetings): change UserAppointmentStatsView from GET to POST
Modified UserAppointmentStatsView to accept POST requests instead of GET
and retrieve email from request body rather than from authenticated user.
This allows querying appointment statistics for any email address instead
of being limited to the current user's email.

Changes:
- Changed HTTP method from GET to POST
- Added email parameter extraction from request.data
- Updated filter to use provided email instead of request.user.email
2025-11-26 16:03:09 +00:00