Skip to content

Commit

Permalink
Merge commit 'refs/pull/487/head' of github.com:alchemy-fr/phraseanet…
Browse files Browse the repository at this point in the history
…-services into w2445
  • Loading branch information
nmaillat committed Nov 16, 2024
2 parents 1138af0 + 5028a63 commit c8c17f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion databox/api/src/Integration/RemoveBg/RemoveBgClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public function getBgRemoved(File $file, string $apiKey): string
}

$path = $this->fileFetcher->getFile($file);

$md5 = md5_file($path);

$cacheFile = sprintf('%s/%s', $this->cacheDir, $md5);
Expand Down
3 changes: 2 additions & 1 deletion databox/api/src/Integration/RemoveBg/RemoveBgIntegration.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use App\Integration\Action\FileUserActionsTrait;
use App\Integration\IntegrationConfig;
use App\Integration\IntegrationContext;
use App\Integration\IntegrationDataTransformerInterface;
use App\Integration\PusherTrait;
use App\Integration\RemoveBg\Message\RemoveBgCall;
use App\Integration\UserActionsIntegrationInterface;
Expand All @@ -19,7 +20,7 @@
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Messenger\MessageBusInterface;

class RemoveBgIntegration extends AbstractIntegration implements WorkflowIntegrationInterface, UserActionsIntegrationInterface
class RemoveBgIntegration extends AbstractIntegration implements IntegrationDataTransformerInterface, WorkflowIntegrationInterface, UserActionsIntegrationInterface
{
use PusherTrait;
use FileUserActionsTrait;
Expand Down

0 comments on commit c8c17f7

Please sign in to comment.