talawa-admin
talawa-admin copied to clipboard
URL Issue: ID Passed as Query Parameter Instead of Path Segment
Describe the bug
The URL currently uses a query parameter to pass the ID (e.g., url/id=343434) instead of including the ID as part of the path (e.g., url/343434). This format does not adhere to the expected RESTful URL structure.
To Reproduce Steps to reproduce the behavior:
- Login as a the user
- go the donation page
- click on "view all" on the right
- you will see not any members because of the invalid url but if you remove " id=" from the url , you will see all members.
Expected behavior All members should be visible.
Actual behavior Members are not visible .
Screenshots
https://github.com/PalisadoesFoundation/talawa-admin/assets/71646466/e7df0612-30e5-4c59-8a23-6df88fc0da79
Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359