<commit_before>import request from 'axios'
import { auth, handleError } from './constants'
import { URL } from 'constants/URL'

const API_URL = `${URL}/notification`
const appVersion = '0.0.92'

export const checkVersion = () => dispatch =>
  request
    .get(`${API_URL}/version?version=${appVersion}`)
    .then(response =>
      dispatch({
        type: 'CHECK_VERSION',<commit_msg>version up<commit_after>import request from 'axios'
import { auth, handleError } from './constants'
import { URL } from 'constants/URL'

const API_URL = `${URL}/notification`
const appVersion = '0.0.93'

export const checkVersion = () => dispatch =>
  request
    .get(`${API_URL}/version?version=${appVersion}`)
    .then(response =>
      dispatch({
        type: 'CHECK_VERSION',
{'fraction_non_alphanumeric': 0.15645371577574968, 'fraction_numerical': 0.010430247718383311, 'mean_word_length': 4.12, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '911882', 'n_tokens_mistral': 232, 'n_tokens_neox': 235, 'n_words': 58}