tweak: Re-enable connection to mongo
This commit is contained in:
parent
d2f1d8dd50
commit
a556eef732
|
@ -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()
|
Loading…
Reference in New Issue
Block a user