Skip to content

Commit a6f0d9a

Browse files
committed
fix(symfony): http cache wrong metadata argument
1 parent 444f339 commit a6f0d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/Resources/config/http_cache.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<argument>%api_platform.http_cache.shared_max_age%</argument>
1212
<argument>%api_platform.http_cache.vary%</argument>
1313
<argument>%api_platform.http_cache.public%</argument>
14-
<argument>api_platform.metadata.resource.metadata_collection_factory.retro_compatible</argument>
14+
<argument type="service" id="api_platform.metadata.resource.metadata_collection_factory.retro_compatible" />
1515

1616
<tag name="kernel.event_listener" event="kernel.response" method="onKernelResponse" priority="-1" />
1717
</service>

0 commit comments

Comments
 (0)