From 60d24e007216187af92eb789b810cbe3533a9937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Sun, 20 Aug 2023 11:42:17 +0200 Subject: [PATCH] Downgrade assistant --- app/controllers/api/functions.php | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index c2c4be2d07..5fef4ddbc2 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -710,6 +710,7 @@ App::put('/v1/functions/:functionId') $live = true; if ( + $function->getAttribute('name') !== $name || $function->getAttribute('entrypoint') !== $entrypoint || $function->getAttribute('commands') !== $commands || $function->getAttribute('providerRootDirectory') !== $providerRootDirectory || diff --git a/docker-compose.yml b/docker-compose.yml index 34e264c383..8865661984 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -761,7 +761,7 @@ services: appwrite-assistant: container_name: appwrite-assistant hostname: appwrite-assistant - image: appwrite/assistant:0.1.3 + image: appwrite/assistant:0.1.2 networks: - appwrite environment: