Skip to content

Commit 1da1fdc

Browse files
committed
feat: remove envId from params for scan v2 in image card
1 parent 11c3385 commit 1da1fdc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.2.5",
3+
"version": "1.2.5-beta-2",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/ImageCardAccordion/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
2929
isScanEnabled: boolean
3030
SecurityModalSidebar: React.FC<SidebarPropsType>
3131
getSecurityScan: (
32-
props: Pick<AppDetailsPayload, 'appId' | 'envId' | 'artifactId'>,
32+
props: Pick<AppDetailsPayload, 'appId' | 'artifactId'>,
3333
) => Promise<ResponseType<ApiResponseResultType>>
3434
}
3535

src/Shared/Components/Security/Vulnerabilities/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const useGetSecurityVulnerabilities = ({
8383
)
8484

8585
const [scanResultLoading, scanResultResponse, scanResultError, reloadScanResult] = useAsync(
86-
() => getSecurityScan({ artifactId, appId, envId }),
86+
() => getSecurityScan({ artifactId, appId }),
8787
[],
8888
isScanned && isScanEnabled && isScanV2Enabled && !!getSecurityScan,
8989
{

0 commit comments

Comments
 (0)