uc-cdis / peregrine

GraphQL search API service
Apache License 2.0
11 stars 9 forks source link

PXP-2403 fix duplicate project id bug #162

Closed mysterious-progression closed 3 years ago

mysterious-progression commented 3 years ago

OPEN projects are double counted because they appear in both open read access privileges and authorized user level privileges. Bug fix makes sure peregrine is aware of this and does not add project_ids to list of projects if it is already in the list because it's an open project.

https://ctds-planx.atlassian.net/browse/PXP-2403

Bug Fixes

Fix bug where project id count returns 2 instead of 1

github-actions[bot] commented 3 years ago

The style in this PR agrees with black. :heavy_check_mark:

This formatting comment was generated automatically by a script in uc-cdis/wool.

paulineribeyre commented 3 years ago

awesome!!!