db + saving of reserved tickets

This commit is contained in:
2023-07-26 12:24:18 +02:00
parent d0b215f022
commit ee8aa52dd8
6 changed files with 107 additions and 25 deletions

View File

@@ -26,7 +26,7 @@ module.exports = ( app ) => {
} );
app.post( '/API/:call', ( req, res ) => {
postHandler.handleCall( req.params.call, req.body, req.query.lang ).then( data => {
postHandler.handleCall( req.params.call, req.body, req.query.lang, req.session ).then( data => {
res.send( data );
} ).catch( error => {
res.status( 500 ).send( error );