We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3fdb80 commit 5a2b8e6Copy full SHA for 5a2b8e6
src/Shared/Components/Security/SecurityModal/service.ts
@@ -1,6 +1,7 @@
1
import { ROUTES } from '@Common/Constants'
2
import { getUrlWithSearchParams } from '@Common/Helper'
3
import { get } from '@Common/Api'
4
+import { ResponseType } from '@Common/Types'
5
import { ScanResultDTO, AppDetailsPayload } from './types'
6
7
export const getSecurityScan = async ({
@@ -9,7 +10,7 @@ export const getSecurityScan = async ({
9
10
installedAppId,
11
artifactId,
12
installedAppVersionHistoryId,
-}: AppDetailsPayload) => {
13
+}: AppDetailsPayload): Promise<ResponseType<ScanResultDTO>> => {
14
const url = getUrlWithSearchParams(ROUTES.SCAN_RESULT, {
15
appId,
16
envId,
0 commit comments