talawa-admin icon indicating copy to clipboard operation
talawa-admin copied to clipboard

URL Issue: ID Passed as Query Parameter Instead of Path Segment

Open lokeshsingh3721 opened this issue 8 months ago • 7 comments

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:

  1. Login as a the user
  2. go the donation page
  3. click on "view all" on the right
  4. 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

image

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

lokeshsingh3721 avatar May 30 '24 07:05 lokeshsingh3721