mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
db + saving of reserved tickets
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user