tweak: Re-enable connection to mongo

This commit is contained in:
NunoSempere 2021-12-08 13:53:47 +01:00
parent d2f1d8dd50
commit a556eef732

View File

@ -1,11 +1,14 @@
import axios from "axios" import axios from "axios"
const CONNECTION_IS_ACTIVE = true
export async function pushToMongo(data){ export async function pushToMongo(data){
/* if(CONNECTION_IS_ACTIVE){
let response = await axios.post('http://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', { let response = await axios.post('http://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', {
data: data data: data
}) })
console.log(response) console.log(response)
*/ }
} }
// pushToMongo() // pushToMongo()