utility-function-extractor/lib/pushToMongo.js

8 lines
236 B
JavaScript

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