Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow+Notes: Expose ability to un-follow a grant via Finder API #3207

Open
Tracked by #2960
TylerHendrickson opened this issue Jun 21, 2024 · 0 comments
Open
Tracked by #2960
Assignees
Labels
collaboration good first issue Good for newcomers Grant Finder Issues related to the Grant Finder javascript Pull requests that update Javascript code

Comments

@TylerHendrickson
Copy link
Member

Subtask of [STORY]: Update 'Status' to 'Follow + Note' feature #2960

Blocked by

Blocks

TBD

Definition of Done

A new API route exists that allows users to stop following a specific grant.

Implementation Details

In packages/server/src/routes/grants.js, define a new DELETE /:grantId/follow API route handler as follows:

  • Requires authentication.
  • Calls unfollowGrant() from packages/server/src/lib/grantsCollaboration with the grant ID from request path parameters and the authenticated user ID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collaboration good first issue Good for newcomers Grant Finder Issues related to the Grant Finder javascript Pull requests that update Javascript code
Projects
Status: 🚢 Completed
Development

No branches or pull requests

3 participants