2021-09-22 20:59:06 +00:00
|
|
|
import axios from "axios"
|
|
|
|
|
|
|
|
export async function pushToMongo(data){
|
2021-10-06 08:32:17 +00:00
|
|
|
<<<<<<< HEAD
|
2021-09-22 20:59:06 +00:00
|
|
|
let response = await axios.post('https://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', {
|
2021-10-06 08:32:17 +00:00
|
|
|
=======
|
2021-10-05 16:34:42 +00:00
|
|
|
let response = await axios.post('http://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', {
|
2021-10-06 08:32:17 +00:00
|
|
|
>>>>>>> withRequestToHeroku
|
2021-09-22 20:59:06 +00:00
|
|
|
data: data
|
|
|
|
})
|
|
|
|
console.log(response)
|
|
|
|
}
|