Skip to content

Commit e95b918

Browse files
Merge pull request #968 from appwrite/fix-multipart-php
fix(php): wrong condition
2 parents f514c62 + c2075c3 commit e95b918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/php/src/Services/Service.php.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class {{ service.name | caseUcfirst }} extends Service
5353
);
5454
5555
{{~ include('php/base/params.twig') -}}
56-
{%~ if 'multipart/form-data' in method.consumes and method.type != "upload" %}
56+
{%~ if 'multipart/form-data' in method.consumes and method.name | lower != "createexecution" %}
5757
{{~ include('php/base/requests/file.twig') }}
5858
{%~ else %}
5959

0 commit comments

Comments
 (0)