From c2075c3f8e1991f161408481b7257e6b7b5f8712 Mon Sep 17 00:00:00 2001 From: Binyamin Yawitz <316103+byawitz@users.noreply.github.com> Date: Fri, 30 Aug 2024 14:29:42 -0400 Subject: [PATCH] fix(php): wrong condition --- templates/php/src/Services/Service.php.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/php/src/Services/Service.php.twig b/templates/php/src/Services/Service.php.twig index 4e901e329..52d65f0f1 100644 --- a/templates/php/src/Services/Service.php.twig +++ b/templates/php/src/Services/Service.php.twig @@ -53,7 +53,7 @@ class {{ service.name | caseUcfirst }} extends Service ); {{~ include('php/base/params.twig') -}} - {%~ if 'multipart/form-data' in method.consumes and method.type != "upload" %} + {%~ if 'multipart/form-data' in method.consumes and method.name | lower != "createexecution" %} {{~ include('php/base/requests/file.twig') }} {%~ else %}