From 48c12c3f2038a4bf8a899cb53b5c670b8e985b18 Mon Sep 17 00:00:00 2001 From: lcgkm Date: Thu, 27 Jul 2017 14:53:59 +0800 Subject: [PATCH] fix invalid github endpoint var name (#155) * Upgrade base image to node:8.1.4-alpine * fix invalid github endpoint var name * Update Github.jsx --- app/components/Authentication/Github/Github.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Authentication/Github/Github.jsx b/app/components/Authentication/Github/Github.jsx index 1324a8d..54c0107 100644 --- a/app/components/Authentication/Github/Github.jsx +++ b/app/components/Authentication/Github/Github.jsx @@ -537,7 +537,7 @@ export default class GithubAuthBackend extends React.Component { floatingLabelFixed={true} value={this.state.newConfig.base_url} onChange={(e) => { - this.setState({ newConfig: update(this.state.newConfig, { endpoint: { $set: e.target.value } }) }); + this.setState({ newConfig: update(this.state.newConfig, { base_url: { $set: e.target.value } }) }); }} />