@@ -333,20 +333,18 @@ class SocketSdk {
333333 /**
334334 * @param {string } orgSlug
335335 * @param {{[key: string]: any } } queryParams
336- * @param {{} } bodyContent
337336 * @param {string[] } filePaths
338337 * @param {string } pathsRelativeTo
339- * @param {{ [key: string]: boolean } } [issueRules]
340338 * @returns {Promise<SocketSdkResultType<'CreateOrgFullScan'>> }
341339 */
342- async createOrgFullScan ( orgSlug , queryParams , bodyContent , filePaths , pathsRelativeTo = '.' , issueRules ) {
340+ async createOrgFullScan ( orgSlug , queryParams , filePaths , pathsRelativeTo = '.' ) {
343341 const basePath = path . resolve ( process . cwd ( ) , pathsRelativeTo )
344342 const absoluteFilePaths = filePaths . map ( filePath => path . resolve ( basePath , filePath ) )
345343 const orgSlugParam = encodeURIComponent ( orgSlug )
346344 const formattedQueryParams = new URLSearchParams ( queryParams )
347345
348346 const [
349- { FormData, Blob } ,
347+ { FormData } ,
350348 { fileFromPath } ,
351349 client
352350 ] = await Promise . all ( [
@@ -357,11 +355,6 @@ class SocketSdk {
357355
358356 const body = new FormData ( )
359357
360- if ( issueRules ) {
361- const issueRulesBlob = new Blob ( [ JSON . stringify ( issueRules ) ] , { type : 'application/json' } )
362- body . set ( 'issueRules' , issueRulesBlob , 'issueRules' )
363- }
364-
365358 const files = await Promise . all ( absoluteFilePaths . map ( absoluteFilePath => fileFromPath ( absoluteFilePath ) ) )
366359
367360 for ( let i = 0 , length = files . length ; i < length ; i ++ ) {
0 commit comments