From 56a36c7ca5cc6e6536ecb6e17d7442c6d5e11a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 22 Nov 2018 20:37:30 +0100 Subject: [PATCH] chore: fix linting --- docs/client-sdk.md | 21 +++++++++++++++++++++ lib/middleware/simple-authentication.js | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 docs/client-sdk.md diff --git a/docs/client-sdk.md b/docs/client-sdk.md new file mode 100644 index 0000000000..fd6728ed88 --- /dev/null +++ b/docs/client-sdk.md @@ -0,0 +1,21 @@ +--- +id: client_sdk +title: Client SDK +--- + +In order to use Unleash in your application you will need an Unleash Client SDK. Unleash has offical client SDK's for Java, Node.js, Go, Ruby and Python. And we will be happy to add implementations in other langugages written by you! These libraries makes it very easy to use Unleash in you application. + +### Official client SDKs: + +- [unleash/unleash-client-java](https://github.com/unleash/unleash-client-java) +- [unleash/unleash-client-node](https://github.com/unleash/unleash-client-node) +- [unleash/unleash-client-go](https://github.com/unleash/unleash-client-go) +- [unleash/unleash-client-ruby](https://github.com/unleash/unleash-client-ruby) +- [unleash/unleash-client-python](https://github.com/Unleash/unleash-client-python) + +### Clients written by awesome enthusiasts: + +- [stiano/unleash-client-dotnet](https://github.com/stiano/unleash-client-dotnet) (.Net Core) +- [onybo/unleash-client-core](https://github.com/onybo/unleash-client-core) (.Net Core) +- [rarruda/unleash-client-python](https://github.com/rarruda/unleash-client-python) (Python 3) +- _...your implementation for your favourite language._ \ No newline at end of file diff --git a/lib/middleware/simple-authentication.js b/lib/middleware/simple-authentication.js index d4ead337c3..0276f28576 100644 --- a/lib/middleware/simple-authentication.js +++ b/lib/middleware/simple-authentication.js @@ -7,7 +7,8 @@ function unsecureAuthentication(app) { app.post('/api/admin/login', (req, res) => { const user = req.body; req.session.user = new User({ email: user.email }); - res.status(200) + res + .status(200) .json(req.session.user) .end(); });