We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd09c0c commit 7699ef7Copy full SHA for 7699ef7
src/commands/package/fetch-purls-shallow-score.mts
@@ -41,5 +41,9 @@ export async function fetchPurlsShallowScore(
41
return handleFailedApiResponse('batchPackageFetch', result)
42
}
43
44
- return { ok: true, data: result }
+ // TODO: seems like there's a bug in the typing since we absolutely have to return the .data here
45
+ return {
46
+ ok: true,
47
+ data: result.data as SocketSdkReturnType<'batchPackageFetch'>
48
+ }
49
0 commit comments