Revert "fix vbs database"
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This reverts commit b5ad255ccd.
master
parent
b5ad255ccd
commit
827a8a001a
File diff suppressed because it is too large
Load Diff
|
|
@ -3,7 +3,7 @@
|
|||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "NODE_OPTIONS=--openssl-legacy-provider ng serve",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"test": "ng test",
|
||||
"lint": "ng lint",
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -8,6 +8,12 @@ exports.insertVBS = function(year, email, firstName, lastName, data, callback){
|
|||
callback(error);
|
||||
return;
|
||||
}
|
||||
callback(null, result);
|
||||
dbEvents.getEvent(result.insertId,function(error,event){
|
||||
if (error){
|
||||
callback(error);
|
||||
return;
|
||||
}
|
||||
callback(null,event);
|
||||
});
|
||||
});
|
||||
}
|
||||
Binary file not shown.
Loading…
Reference in New Issue