File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 386386 < cfset sigSignature = lcase ( hash ( " public_id=#publicID #×tamp=#sigTimestamp ##apiSecret #" ," SHA" ) )>
387387
388388 <!--- DELETE FROM CLOUDINARY --->
389- < cfhttp url = " https://api.cloudinary.com/v1_1/#cloudName #/resources/image/upload?public_ids=#publicID #" method = " DELETE" username = " #apiKey #" password = " #apiSecret #" >
389+ < cfhttp url = " https://api.cloudinary.com/v1_1/#cloudName #/resources/image/upload?public_ids=#publicID #" method = " DELETE" username = " #apiKey #" password = " #apiSecret #" result = " stResponse " >
390390
391391 < cfif isjson (stResponse .filecontent )>
392392 < cfset stResult = deserializejson (stResponse .filecontent )>
416416 < cfthrow message = " Source has not been migrated to Cloudinary" >
417417 < / cfif >
418418
419- < cfhttp url = " https://api.cloudinary.com/v1_1/#cloudName #/resources/image/upload/#publicID #" username = " #apiKey #" password = " #apiSecret #" >
419+ < cfhttp url = " https://api.cloudinary.com/v1_1/#cloudName #/resources/image/upload/#publicID #" username = " #apiKey #" password = " #apiSecret #" result = " stResponse " >
420420
421421 < cfif isjson (stResponse .filecontent )>
422422 < cfset stResult = deserializejson (stResponse .filecontent )>
435435 < cfreturn stResult >
436436 < / cffunction >
437437
438- < / cfcomponent >
438+ < / cfcomponent >
You can’t perform that action at this time.
0 commit comments