File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Endpoint Examples/JSON Payload Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public static async Task Execute(string[] args)
6464 Console . WriteLine ( "OCR response received." ) ;
6565 Console . WriteLine ( ocrResult ) ;
6666 var ocrJson = JObject . Parse ( ocrResult ) ;
67- var ocrPDFID = ( string ? ) ( ocrJson [ "outputId" ] ?? ocrJson [ "id" ] ?? ocrJson [ "files" ] ? [ 0 ] ? [ "id" ] ) ;
67+ var ocrPDFID = ( string ? ) ( ocrJson [ "outputId" ] ?? ocrJson [ "id" ] ?? ocrJson [ "files" ] ? [ 0 ] ? [ "id" ] ) ;
6868 if ( string . IsNullOrWhiteSpace ( ocrPDFID ) )
6969 {
7070 Console . Error . WriteLine ( "Failed to obtain OCR output id. Full response:" ) ;
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public static async Task Execute(string[] args)
100100 // is involved, an explicit delete call can be made to the API.
101101 //
102102 // Deletes all files in the workflow, including outputs. Save all desired files before enabling this step.
103-
103+
104104 // Optional immediate deletion of sensitive files
105105 // Default: false; override with PDFREST_DELETE_SENSITIVE_FILES=true
106106 var deleteSensitiveFiles = string . Equals (
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public static async Task Execute(string[] args)
5656 var redactedTextResult = await redactedTextResponse . Content . ReadAsStringAsync ( ) ;
5757 Console . WriteLine ( "Processing response received." ) ;
5858 Console . WriteLine ( redactedTextResult ) ;
59-
59+
6060 JObject appliedResultJson = JObject . Parse ( redactedTextResult ) ;
6161 var outputID = appliedResultJson [ "outputId" ] ;
6262
You can’t perform that action at this time.
0 commit comments