Add db verification

master
sigonasr2 3 years ago
parent 9ec51ea3d4
commit 8c396bdec2
  1. 8
      server.js

@ -934,12 +934,16 @@ function submitBuild(req,res,db,send) {
app.post(PREFIX+"/submitBuild",(req,res)=>{
submitBuild(req,res,db,true)
submitBuild(req,res,db2,false)
if (db2) {
submitBuild(req,res,db2,false)
}
})
app.post(PREFIX+"/test/submitBuild",(req,res)=>{
submitBuild(req,res,db,true)
submitBuild(req,res,db2,false)
if (db2) {
submitBuild(req,res,db2,false)
}
})
//Generates our table schema:

Loading…
Cancel
Save