Camelot reading
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
FROM php:8-fpm
|
||||
|
||||
RUN apt-get update -y && apt-get install -y git
|
||||
RUN apt-get update -y && apt-get install -y git libzip-dev zip
|
||||
|
||||
RUN docker-php-ext-install pdo pdo_mysql
|
||||
RUN docker-php-ext-install pdo pdo_mysql zip
|
||||
|
||||
COPY --from=composer /usr/bin/composer /usr/bin/composer
|
||||
|
||||
|
@ -24,7 +24,7 @@ class PdfHandler {
|
||||
$output []= ['filename' => $file->getBasename()];
|
||||
}
|
||||
$response = $this->client->post($this->url, ['json' => ['files' => $output]]);
|
||||
!d(json_decode($response->getBody()));
|
||||
$output = json_decode($response->getBody());
|
||||
return $output;
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user