diff --git a/day-04/promise/updateOneEmployee.js b/day-04/promise/updateOneEmployee.js index ec1696d..c8bc494 100644 --- a/day-04/promise/updateOneEmployee.js +++ b/day-04/promise/updateOneEmployee.js @@ -1,8 +1,9 @@ /** - * @author M.Emin Zeyrekli + ** @author M.Emin Zeyrekli */ import fetch from "node-fetch"; + function updateOneEmployee() { const url = "http://localhost:8080/api/employees/1"; const body = {