diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index f88261626..7faf6aa91 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -393,7 +393,7 @@ App::delete('/v1/functions/:functionId') $deletes ->setParam('type', DELETE_TYPE_DOCUMENT) - ->setParam('document', $function->getArrayCopy()) + ->setParam('document', $function) ; $response->noContent();