changes to preview
Showing
2 changed files
with
3 additions
and
2 deletions
| ... | @@ -154,10 +154,11 @@ class ApiController extends Controller | ... | @@ -154,10 +154,11 @@ class ApiController extends Controller |
| 154 | $pdf = $pdf->pdf($pdfId); | 154 | $pdf = $pdf->pdf($pdfId); |
| 155 | $response = $pdfId; | 155 | $response = $pdfId; |
| 156 | $statusCode = 200; | 156 | $statusCode = 200; |
| 157 | |||
| 158 | return Response::json( $response, $statusCode); | ||
| 159 | $UploaqdPdf = new GoogledriveuploadpdfController(); | 157 | $UploaqdPdf = new GoogledriveuploadpdfController(); |
| 160 | $UploaqdPdf->google_drive_upload($folder, 'new_'.$pdfLocation,$pdfId,$cust_id); | 158 | $UploaqdPdf->google_drive_upload($folder, 'new_'.$pdfLocation,$pdfId,$cust_id); |
| 159 | |||
| 160 | return Response::json( $response, $statusCode); | ||
| 161 | |||
| 161 | } | 162 | } |
| 162 | 163 | ||
| 163 | public function getList($json) | 164 | public function getList($json) | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment