<commit_before>import axios from 'axios';

import { CREATE_AN_INITIATIVE } from "../../constants/actions";
import CreateInitiative from '../../components/createInitiative';
import { CREATE_NEW_INITIATIVE } from "../../constants/apiList"

export const sendInitiativeDetails = (initiativeDetails,userInfoObj) => {

  const request = axios.post(CREATE_NEW_INITIATIVE+'?access_token='+userInfoObj.id,
  /*{
      "title": initiativeDetails.initiativeName,
  		"description": "This is sample description",
      "status": "open",
      "createdOn": initiativeDetails.intiativeStartDate,
      "active": true,
      "lead": initiativeDetails.approverName,
      "createdBy": userInfoObj.userId,
      "categoryId": 1,
  		"created": userInfoObj.created
  }*/
  {
    "title": "prayaas2",
    "description": "prayaas2 desc",<commit_msg>initiative name pulled from form<commit_after>import axios from 'axios';

import { CREATE_AN_INITIATIVE } from "../../constants/actions";
import CreateInitiative from '../../components/createInitiative';
import { CREATE_NEW_INITIATIVE } from "../../constants/apiList"

export const sendInitiativeDetails = (initiativeDetails,userInfoObj) => {

  const request = axios.post(CREATE_NEW_INITIATIVE+'?access_token='+userInfoObj.id,
  /*{
      "title": initiativeDetails.initiativeName,
  		"description": "This is sample description",
      "status": "open",
      "createdOn": initiativeDetails.intiativeStartDate,
      "active": true,
      "lead": initiativeDetails.approverName,
      "createdBy": userInfoObj.userId,
      "categoryId": 1,
  		"created": userInfoObj.created
  }*/
  {
    "title": initiativeDetails.initiativeName,
    "description": "prayaas2 desc",
{'fraction_non_alphanumeric': 0.14067098293113597, 'fraction_numerical': 0.002942907592701589, 'mean_word_length': 4.279503105590062, 'pattern_counts': {'":': 22, '<': 3, '<?xml version=': 0, '>': 5, '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': '6078280', 'n_tokens_mistral': 521, 'n_tokens_neox': 522, 'n_words': 101}