diff --git a/CHANGES/2670.bug b/CHANGES/2670.bug new file mode 100644 index 0000000000..31fe48d821 --- /dev/null +++ b/CHANGES/2670.bug @@ -0,0 +1 @@ +Fix dispatch page filter param diff --git a/src/containers/not-found/dispatch.tsx b/src/containers/not-found/dispatch.tsx index af7d0c0322..10240a218a 100644 --- a/src/containers/not-found/dispatch.tsx +++ b/src/containers/not-found/dispatch.tsx @@ -46,7 +46,7 @@ export const Dispatch = (props: RouteProps) => { .catch(() => setCollections([])); if (featureFlags.legacy_roles) { - LegacyRoleAPI.list({ username: namespace, name }) + LegacyRoleAPI.list({ github_user: namespace, name }) .then(({ data: { results } }) => setRoles(results || [])) .catch(() => setRoles([])); }