diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Update.php b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Update.php index e7a19cb9fd..df5dd3adf5 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Update.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Update.php @@ -246,7 +246,7 @@ class Update extends Base $specsChanged = false; if ($function->getAttribute('runtimeSpecification') !== $runtimeSpecification) { $specsChanged = true; - } elseif ($function->getAttribute('buildbuildSpecification') !== $buildSpecification) { + } elseif ($function->getAttribute('buildSpecification') !== $buildSpecification) { $specsChanged = true; } diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Update.php b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Update.php index 734c78385a..47fc29d041 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Update.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Update.php @@ -244,7 +244,7 @@ class Update extends Base $specsChanged = false; if ($site->getAttribute('runtimeSpecification') !== $runtimeSpecification) { $specsChanged = true; - } elseif ($site->getAttribute('buildbuildSpecification') !== $buildSpecification) { + } elseif ($site->getAttribute('buildSpecification') !== $buildSpecification) { $specsChanged = true; }