From 68c9cb421f306440108cc452ca9a79b4443ffd4b Mon Sep 17 00:00:00 2001 From: i-vall <ivallanzasca@gmail.com> Date: Mon, 12 Aug 2019 11:26:03 +0200 Subject: [PATCH] feat: documentation --- README.md | 2 +- manifest.konnector | 2 +- src/index.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c696146..f35489b 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ This connector uses [cozy-konnector-libs](https://github.com/cozy/cozy-konnector ### Maintainer -The lead maintainers for this konnector is Nicolas Pernoud +The lead maintainer for this konnector is Métropole de Lyon ### Get in touch diff --git a/manifest.konnector b/manifest.konnector index e718839..1d66fe1 100644 --- a/manifest.konnector +++ b/manifest.konnector @@ -68,7 +68,7 @@ }, "en": { "short_description": "Load profile from Enedis website", - "long_description": "This connector fetch the electrical load profile recorded by the Linky electricity meter", + "long_description": "This connector fetches the electrical load profile recorded by the Linky electricity meter", "permissions": { "load profile": { "description": "The load profile recorded by Linky" diff --git a/src/index.js b/src/index.js index 95784a0..9aebf79 100644 --- a/src/index.js +++ b/src/index.js @@ -50,6 +50,7 @@ function authenticate(login, password) { Host: 'espace-client-connexion.enedis.fr', 'Content-Type': 'application/x-www-form-urlencoded' }, + // encoded URI of password is inserted directly in the body, otherwise "!" character is misinterpreted body: 'IDToken1=' + encodeURI(login) + -- GitLab