mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
design updates
This commit is contained in:
@@ -233,8 +233,9 @@ class POSTHandler {
|
||||
} ).catch( err => {
|
||||
console.error( err );
|
||||
} );
|
||||
} ).catch( () => {
|
||||
console.log( '[ Ticketing ] An error occurred loading data form temp database' );
|
||||
} );
|
||||
// TODO: Add catch block
|
||||
}
|
||||
}
|
||||
} else if ( call === 'deselectTicket' ) {
|
||||
|
||||
@@ -40,8 +40,7 @@ exports.init = function () {
|
||||
},
|
||||
createGateway: function ( params ) {
|
||||
if ( !params.amount ) {
|
||||
// TODO: Think if we really have to throw here
|
||||
throw new Error( 'Amount required!' );
|
||||
return false;
|
||||
}
|
||||
|
||||
const defaultParams = {
|
||||
|
||||
Reference in New Issue
Block a user