<commit_before>import React, { Component } from 'react';

class Progress extends Component{
  state = {
    fitbitToken: ''
  }
  componentDidMount(){
    this.checkFitbit();
  }

  checkFitbit = () => {
    fetch('/auth/fitbit')
    // .then(res => res.json())
    .then(fitbitToken => this.setState({fitbitToken}))
  }

  render(){
    return(
      <div>
        <h3> Get Fit! {this.state.fitbitToken}</h3>
      </div>
    );
  }
}

export default Progress;<commit_msg>change to http:// from https://<commit_after>import React, { Component } from 'react';

class Progress extends Component{
  state = {
    fitbitToken: ''
  }
  componentDidMount(){
    this.checkFitbit();
  }

  checkFitbit = () => {
    fetch('http://serene-server.herokuapp.com/auth/fitbit')
    .then(res => res.json())
    .then(fitbitToken => this.setState({fitbitToken}))
  }

  render(){
    return(
      <div>
        <h3> Get Fit! {this.state.fitbitToken}</h3>
      </div>
    );
  }
}

export default Progress;
{'fraction_non_alphanumeric': 0.1728643216080402, 'fraction_numerical': 0.004020100502512563, 'mean_word_length': 2.730337078651685, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5980646', 'n_tokens_mistral': 349, 'n_tokens_neox': 339, 'n_words': 63}