Skip to content

Fix Repo GetByID returning all repos if no IDs was specified

Administrator requested to merge iv/fix-repo-getbyid into main

Created by: varsanojidan

Resolves https://github.com/sourcegraph/customer/issues/936

Repo GetByIDs had a bug when given an empty list of IDs, it would return all repos.

Test plan

Added a test to capture the bug scenario.

Merge request reports

Loading