[add] Updating the employee table

This commit is contained in:
2018-08-06 03:27:22 -06:00
parent 63a7186464
commit 57ee1fbd72
2 changed files with 31 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ $app->put('/api/employee', function ($request, $response) {
return $response->withStatus(200)
->withHeader('Content-Type', 'application/json')
->write(json_encode($this->employeeApplication->updateEmployee($requestData)));
->write(json_encode($this->employeeApplication->updateEmployeeData($requestData)));
});