Real-Dev-Squad / website-backend

The backend code for all our website-related apps
https://api.realdevsquad.com/
MIT License
52 stars 252 forks source link

Add functionality to approve or reject extension requests in existing /request PUT endpoint #2035

Closed sahsisunny closed 4 months ago

sahsisunny commented 4 months ago

Issue Description

Extend the /request API endpoint to handle PUT requests for approving or rejecting extension requests. This enhancement will enable users to manage extension requests and OOO requests using same endpoint.

Expected Behavior

The /request API endpoint should accept PUT requests with appropriate parameters to approve or reject extension requests.

Current Behavior

The /request API endpoint does not support PUT requests for extension requests type.

Screenshots

Not applicable.

Reproducibility

Severity/Priority

Additional Information

This enhancement will provide users with the ability to approve or reject extension requests through the existing /request endpoint, streamlining the process and improving user experience.

Checklist