PMCORE-3071

This commit is contained in:
Paula Quispe
2021-07-09 16:45:07 -04:00
parent 072b06d899
commit 10a65a7bf7
2 changed files with 12 additions and 9 deletions

View File

@@ -570,18 +570,19 @@ class Home extends Api
/**
* Get the search cases
*
* @url GET /:app_number/pending-tasks
* @url GET /:appNumber/pending-tasks
*
* @param int $app_number
* @param int $appNumber
*
* @return array
*
* @access protected
* @class AccessControl {@permission PM_CASES}
*/
public function getPendingTasks(int $app_number)
public function getPendingTasks(int $appNumber)
{
$result = Delegation::getPendingTask($app_number);
// Get the pending task
$result = Delegation::getPendingTask($appNumber);
return $result;
}