We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd2eba7 commit a9f2b96Copy full SHA for a9f2b96
src/repository/employeesRepository.js
@@ -23,7 +23,6 @@ function save(employee) {
23
24
// get employee by id
25
function getById(employeeId) {
26
- console.log(employeeId, typeof employeeId);
27
const employee = employeesData.filter(item => item.id === employeeId);
28
if (employee.length === 0) {
29
throw new Error(`Employee Resource with id: ${employeeId} not found`);
0 commit comments