hierarchical-estimates-visu.../lib/pushToMongo.js
2021-10-06 10:32:17 +02:00

12 lines
399 B
JavaScript

import axios from "axios"
export async function pushToMongo(data){
<<<<<<< HEAD
let response = await axios.post('https://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', {
=======
let response = await axios.post('http://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', {
>>>>>>> withRequestToHeroku
data: data
})
console.log(response)
}