mirror of
https://github.com/Unleash/unleash.git
synced 2026-10-14 16:30:00 +00:00
fix: return empty array if no features are found for project
This commit is contained in:
@@ -206,7 +206,7 @@ class ProjectStore {
|
||||
environments: o.environments.filter(f => f.name),
|
||||
}));
|
||||
}
|
||||
throw new NotFoundError(`Could not find project with id ${projectId}`);
|
||||
return [];
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
|
||||
Reference in New Issue
Block a user