Skip to content

Commit bddd313

Browse files
committed
fix: rename environment to environmentName in getDataSourceDetailsFromEnvironment
1 parent ae06fe3 commit bddd313

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/app/details/appDetails/appDetails.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const getDataSourceDetailsFromEnvironment = async (envName: string): Prom
3333
result: { name, id },
3434
} = await get<DataSourceDetailsDTO>(
3535
getUrlWithSearchParams(Routes.ENV_DATA_SOURCE_NAME, {
36-
environment: envName,
36+
environmentName: envName,
3737
} satisfies DataSourceDetailsQueryParams),
3838
)
3939

src/components/app/details/appDetails/appDetails.type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export interface DataSourceDetailsDTO {
138138
}
139139

140140
export interface DataSourceDetailsQueryParams {
141-
environment: string
141+
environmentName: string
142142
}
143143

144144
export interface DataSourceDetailsType {

0 commit comments

Comments
 (0)