mirror of
https://github.com/Unleash/unleash.git
synced 2026-01-05 20:06:22 +01:00
feat: add exists method for environment service (#11024)
This commit is contained in:
parent
2782022056
commit
ad0b84dedb
@ -83,6 +83,10 @@ export default class EnvironmentService {
|
||||
return env;
|
||||
}
|
||||
|
||||
async exists(name: string): Promise<boolean> {
|
||||
return this.environmentStore.exists(name);
|
||||
}
|
||||
|
||||
async getProjectEnvironments(
|
||||
projectId: string,
|
||||
): Promise<IProjectsAvailableOnEnvironment[]> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user