This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 77b993599f3131d580e95066d6d1d393229046f2 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Wed Mar 8 15:31:30 2017 +0100 correction dépendance de la session --- pollen-ui-riot-js/src/main/web/js/FetchService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/js/FetchService.js b/pollen-ui-riot-js/src/main/web/js/FetchService.js index a8f112c..8f56dad 100644 --- a/pollen-ui-riot-js/src/main/web/js/FetchService.js +++ b/pollen-ui-riot-js/src/main/web/js/FetchService.js @@ -51,7 +51,7 @@ class FetchService { return response.json(); } if (response.status === 503) { - this.session.emitUnauthorize(); + require("./Session").emitUnauthorize(); return Promise.reject(); } @@ -110,7 +110,7 @@ class FetchService { formData.set(key, value); } }); - formData.set("pollenUIContext", JSON.stringify(this.session.pollenUIContext)); + formData.set("pollenUIContext", JSON.stringify(require("./Session").pollenUIContext)); } return this.fetch(url, "POST", null, formData); } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.