diff --git a/Web-application.md b/Web-application.md index 4d16573..b8a2527 100644 --- a/Web-application.md +++ b/Web-application.md @@ -43,7 +43,7 @@ The redux [store](https://github.com/ReCodEx/web-app/blob/master/src/redux/store #### apiMiddleware -The API middleware catches all the `'CALL_API'` actions and turns them into a HTTP request via the [fetch API](https://developer.mozilla.org/en/docs/Web/API/Fetch_API). The middleware deeply converts data in the *body* part of the request to `FormData` and sets correctly the headers and creates endpoints for the API server before each request is sent. The middleware also handle the responses - converts them to the format expected by the reducers and catches requests' failures. +The API middleware catches all the `CALL_API` actions and turns them into a HTTP request via the [fetch API](https://developer.mozilla.org/en/docs/Web/API/Fetch_API). The middleware deeply converts data in the *body* part of the request to `FormData` and sets correctly the headers and creates endpoints for the API server before each request is sent. The middleware also handle the responses - converts them to the format expected by the reducers and catches requests' failures. #### accessTokenMiddleware