<commit_before>/* @flow */

import { config, cache } from '../../core-client';
import Contacts from '../../ui/modules/Contacts';

const {
	protocol,
	host
} = config.server;
const endpoint = `${protocol}//${host}/m/contacts`;

export default function uploadContacts() {
	const session = cache.getState('session');<commit_msg>Fix contacts endpoint<commit_after>/* @flow */

import { config, cache } from '../../core-client';
import Contacts from '../../ui/modules/Contacts';

const {
	protocol,
	host
} = config.server;
const endpoint = `${protocol}//${host}/x/contacts`;

export default function uploadContacts() {
	const session = cache.getState('session');
{'fraction_non_alphanumeric': 0.1884498480243161, 'fraction_numerical': 0.0, 'mean_word_length': 4.188976377952756, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6880320', 'n_tokens_mistral': 195, 'n_tokens_neox': 200, 'n_words': 51}