diff --git a/src/_services/user.service.js b/src/_services/user.service.js index c3fa3b6..bffb967 100644 --- a/src/_services/user.service.js +++ b/src/_services/user.service.js @@ -68,7 +68,7 @@ function update(user) { body: JSON.stringify(user) }; - return fetch(`${config.apiUrl}/users/${user.id}`, requestOptions).then(handleResponse);; + return fetch(`${config.apiUrl}/users/${user.id}`, requestOptions).then(handleResponse); } // prefixed function name with underscore because delete is a reserved word in javascript @@ -97,4 +97,4 @@ function handleResponse(response) { return data; }); -} \ No newline at end of file +}