fix(bitbucket): setting site_id for BitBucket auth (#1660)

This commit is contained in:
Caleb 2018-08-27 14:04:58 -06:00 committed by Shawn Erquhart
parent 99a699269b
commit d139ac4df7

View File

@ -26,7 +26,7 @@ export default class BitbucketAuthenticationPage extends React.Component {
site_id:
document.location.host.split(':')[0] === 'localhost'
? 'cms.netlify.com'
: this.props.site_id,
: this.props.siteId,
auth_endpoint: this.props.authEndpoint,
};
const auth = new NetlifyAuthenticator(cfg);