mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-26 05:44:24 +00:00
design updates
This commit is contained in:
@@ -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