mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
db + saving of reserved tickets
This commit is contained in:
1 parent
d0b215f022
commit
ee8aa52dd8
6 files changed
+107
-25
No files matched your search
@@ -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