From c2ea1b5877dfad6eeb4ecdf4b301f9edd77f8b4d Mon Sep 17 00:00:00 2001 From: shimon Date: Wed, 26 Nov 2025 19:52:17 +0200 Subject: [PATCH] Add referenceType and reference parameters to Create deployment template --- .../Modules/Functions/Http/Deployments/Template/Create.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Template/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Template/Create.php index 369defac3e..947523b220 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Template/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Template/Create.php @@ -15,6 +15,7 @@ use Utopia\Database\Document; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; +use Utopia\Database\Validator\Authorization; use Utopia\Database\Validator\UID; use Utopia\Platform\Action; use Utopia\Platform\Scope\HTTP; @@ -131,7 +132,9 @@ class Create extends Base template: $template, github: $github, activate: $activate, - authorization: $authorization + authorization: $authorization, + referenceType: $type, + reference: $reference ); $queueForEvents