Skip to content

Commit

Permalink
Controllers: Fixup python init
Browse files Browse the repository at this point in the history
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
  • Loading branch information
Nicklas373 committed Mar 24, 2024
1 parent e53de63 commit 7a5d974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/Core/convertController.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function convert(Request $request) {
$pdfNameWithExtension = pathinfo($currentFileName, PATHINFO_EXTENSION);
if ($convertType == 'xlsx') {
$asposeAPI = new Process([
'python',
'python3',
public_path().'/ext-python/asposeAPI.py',
env('ASPOSE_CLOUD_CLIENT_ID'),
env('ASPOSE_CLOUD_TOKEN'),
Expand Down Expand Up @@ -572,7 +572,7 @@ public function convert(Request $request) {
}
} else if ($convertType == 'pptx') {
$asposeAPI = new Process([
'python',
'python3',
public_path().'/ext-python/asposeAPI.py',
env('ASPOSE_CLOUD_CLIENT_ID'),
env('ASPOSE_CLOUD_TOKEN'),
Expand Down

0 comments on commit 7a5d974

Please sign in to comment.