From a69d061a42b0e115700d000d965166aa1e2984d7 Mon Sep 17 00:00:00 2001 From: Danny van Wijk Date: Sun, 31 Jul 2022 15:44:36 +0200 Subject: [PATCH] Fix decorated persist processor --- core/state-processors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state-processors.md b/core/state-processors.md index a22f6cf75c7..9a359e6be29 100644 --- a/core/state-processors.md +++ b/core/state-processors.md @@ -131,7 +131,7 @@ services: # ... App\State\UserProcessor: bind: - $decorated: '@api_platform.doctrine.orm.state_processor' + $decorated: '@ApiPlatform\Doctrine\Common\State\PersistProcessor' # Uncomment only if autoconfiguration is disabled #arguments: ['@App\State\UserProcessor.inner'] #tags: [ 'api_platform.state_processor' ]