tweak: Re-enable connection to mongo
This commit is contained in:
parent
d2f1d8dd50
commit
a556eef732
|
@ -1,11 +1,14 @@
|
|||
import axios from "axios"
|
||||
|
||||
const CONNECTION_IS_ACTIVE = true
|
||||
|
||||
export async function pushToMongo(data){
|
||||
/*
|
||||
let response = await axios.post('http://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', {
|
||||
data: data
|
||||
})
|
||||
console.log(response)
|
||||
*/
|
||||
if(CONNECTION_IS_ACTIVE){
|
||||
let response = await axios.post('http://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', {
|
||||
data: data
|
||||
})
|
||||
console.log(response)
|
||||
}
|
||||
|
||||
}
|
||||
// pushToMongo()
|
Loading…
Reference in New Issue
Block a user