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
Owner

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
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
Saani added 1 commit 2025-11-26 16:18:21 +00:00
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
Saani merged commit 577e87d8db into main 2025-11-26 16:18:26 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ATTUNE-HEART-THERAPY/alternative-backend-service#38
No description provided.