1
0
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:
Jaanus Sellin 2025-11-26 11:03:01 +02:00 committed by GitHub
parent 2782022056
commit ad0b84dedb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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[]> {