hierarchical-estimates-visu.../lib/pushToMongo.js

9 lines
252 B
JavaScript
Raw Normal View History

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