mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
ticket generation working
This commit is contained in:
1 parent
2812ab9055
commit
32ed36b93f
26 files changed
+594
-96
No files matched your search
@@ -31,7 +31,7 @@ module.exports = ( app ) => {
|
||||
}
|
||||
} );
|
||||
|
||||
app.post( '/admin/API/:call', bodyParser.json(), ( req, res ) => {
|
||||
app.post( '/admin/API/:call', bodyParser.json( { limit: '20mb' } ), ( req, res ) => {
|
||||
if ( req.session.loggedInAdmin ) {
|
||||
postHandler.handleCall( req.params.call, req.body, req.query.lang ).then( data => {
|
||||
res.send( data );
|
||||
|
||||
Reference in new issue
Block a user