Skip to content
Snippets Groups Projects
Commit 704ac3d1 authored by IsolatedSushi's avatar IsolatedSushi
Browse files

Disabled database

parent cb545acf
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ module.exports = {
console.log("ERROR: " + err);
return "ERROR: " + err;
} else {
var result = await executeLocalQuery(query,connection);
var result = executeLocalQuery(query,connection);
return result
}
})
......
......@@ -32,6 +32,11 @@ function sendPoint(call, callback) {
//Create the query and execute it
function addToDB(call){
//TEMP disable
return
data = call.request.rows;
var query = 'INSERT INTO SAMPLE.dbo.pointTable (x,y) \n VALUES \n'
......
......@@ -17,6 +17,12 @@ app.get("/generatePointStream",(req,res)=>{
let modelID = req.query.modelID;
console.log(modelID);
//temp disable
streamGeneratedPoints(res);
return
if(modelID == "undefined"){
streamGeneratedPoints(res);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment