Update app/controllers/api/functions.php

Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
Matej BačoandJake Barnby authored and GitHub committed 2022-08-30 09:29:30 +02:00
1 parent 471cac8187
commit 677121edca
1 file changed
+1 -1
+1 -1
View File
@@ -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