mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update app/controllers/api/functions.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
co-authored by
Jake Barnby
parent
471cac8187
commit
677121edca
@@ -1472,7 +1472,7 @@ App::put('/v1/functions/:functionId/variables/:variableId')
|
||||
]);
|
||||
|
||||
if ($variable === false || $variable->isEmpty()) {
|
||||
throw new Exception(Exception::VARIABLE_NOT_FOUND, 'Variable not found');
|
||||
throw new Exception(Exception::VARIABLE_NOT_FOUND);
|
||||
}
|
||||
|
||||
$variable
|
||||
|
||||
Reference in New Issue
Block a user