From b3964943f24851cf859ac1e207bcb35a1ad8c5e8 Mon Sep 17 00:00:00 2001 From: Petr Stefan Date: Thu, 24 Nov 2016 12:20:03 +0100 Subject: [PATCH] Fix to build pdf --- Web-application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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