SBOM接口对接修复
This commit is contained in:
@@ -144,16 +144,12 @@ export const getVulnList = (data): Promise<any> => {
|
||||
};
|
||||
|
||||
// 获取SBOM依赖树
|
||||
export const dependencyTree = (softwareId: any): Promise<any> => {
|
||||
export const dependencyTree = (data: any): Promise<any> => {
|
||||
return reqCatchV2(() =>
|
||||
request({
|
||||
url: `/api/v1/repo/dependency/tree`,
|
||||
method: 'POST',
|
||||
data: {
|
||||
softwareId,
|
||||
current: 1,
|
||||
size: 99999
|
||||
}
|
||||
data
|
||||
})
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user