From 0a51785b8fb27504a987a6dc8f15dd3f8b41806e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 19 Aug 2021 16:33:04 +0200 Subject: [PATCH] Pass the filename, not the id. --- src/Bundle/ChillWopiBundle/src/Controller/Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillWopiBundle/src/Controller/Test.php b/src/Bundle/ChillWopiBundle/src/Controller/Test.php index 9efe48dad..db035c428 100644 --- a/src/Bundle/ChillWopiBundle/src/Controller/Test.php +++ b/src/Bundle/ChillWopiBundle/src/Controller/Test.php @@ -82,7 +82,7 @@ final class Test ->generate( 'checkFileInfo', [ - 'fileId' => $storedObject->getId(), + 'fileId' => $storedObject->getFilename(), ], UrlGeneratorInterface::ABSOLUTE_URL ),