mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
various small changes and fixes
This commit is contained in:
1 parent
6051b18796
commit
71a2927372
11 files changed
+35
-15
No files matched your search
@@ -75,9 +75,13 @@ class GETHandler {
|
||||
} else if ( call === 'getCurrency' ) {
|
||||
resolve( this.settings.currency );
|
||||
} else if ( call === 'getAdminAccounts' ) {
|
||||
// TODO: Finish
|
||||
db.getData( 'admin' ).then( data => {
|
||||
resolve( data );
|
||||
} ).catch( err => {
|
||||
reject( { 'code': 500, 'message': 'ERR_DB: ' + err } );
|
||||
} );
|
||||
} else if ( call === 'getPaymentGatewaySettings' ) {
|
||||
// TODO: Finish
|
||||
// TODO: Finish with plugin manager
|
||||
} else if ( call === 'getSettings' ) {
|
||||
resolve( this.settings );
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user