Skip to content

Conversation

vansh909
Copy link
Contributor

Closes: #1193


Describe the add-ons or changes you've made 📃

  • Implemented a new API endpoint to fetch the list of collaborators for a project.
  • The API ensures only authorized user (project owner) can access this information.
  • The response returns the list of collaborators.
  • Added proper error handling for scenarios like missing or invalid project IDs.

Type of change ☑️

What sort of change have you made:

  • New feature

Note to reviewers 📄

  • Feature developed as part of the Invite Multiple Collaborators to a Project task.
  • Please verify the endpoint security and response format during review.

Copy link

vercel bot commented Sep 22, 2025

@vansh909 is attempting to deploy a commit to the avdheshvarshney's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

Copy link
Member

@Avdhesh-Varshney Avdhesh-Varshney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After doing all the changes, plz share a working video of postman with that api

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the changes from this file

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep your only 1 route for get all collaborators and remove all your rest changes

return res.status(200).json({collaborators: existingCollaborators});
} catch (error) {


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about after catch?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary line additions?

@Avdhesh-Varshney
Copy link
Member

@vansh909 Plz raise a new PR and also update your forked repo.
Closing because of a lots of merge conflicts and changes mentioned earlier.

For new PR, Plz follow the coding standard of other files. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API Endpoint: Get List of Collaborators for a Project

2 participants