mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
fix: return empty array if no features are found for project
This commit is contained in:
parent
9e1cb27f96
commit
45fdd6e2f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user