Skip to content

Add myAssigned filter to /gobounties/all endpoint#2802

Open
GautamKumarOffical wants to merge 1 commit into
stakwork:masterfrom
GautamKumarOffical:feature/assigned-to-me-filter
Open

Add myAssigned filter to /gobounties/all endpoint#2802
GautamKumarOffical wants to merge 1 commit into
stakwork:masterfrom
GautamKumarOffical:feature/assigned-to-me-filter

Conversation

@GautamKumarOffical

Copy link
Copy Markdown

Changes

  • Added myAssigned=true query parameter to /gobounties/all endpoint
  • When filter is active, returns only bounties assigned to the authenticated user
  • Uses existing auth context to get the current user's pubkey
  • Maintains compatibility with existing filter combinations
  • Added unit tests covering authenticated, unauthenticated, and combined filter scenarios

Fixes #2436

- add myAssigned=true query param to filter bounties by authenticated user
- uses existing auth context to get the current user's pubkey
- works alongside existing filter combinations
- add unit tests for the new filter

Signed-off-by: Gautam Kumar <gautamkumarofficial@users.noreply.github.com>
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.

[Feature] Add Assigned to Me Filter Support to /gobounties/all endpoint

1 participant