mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
fix(sqlite): fix callback order for transaction (#700)
This commit is contained in:
parent
b95f88c165
commit
799e2f0b2e
@ -87,7 +87,10 @@ export class SQLite {
|
||||
})
|
||||
addTransaction(transaction: any): void { }
|
||||
|
||||
@CordovaInstance()
|
||||
@CordovaInstance({
|
||||
successIndex: 2,
|
||||
errorIndex: 1
|
||||
})
|
||||
transaction(fn: any): Promise<any> { return; }
|
||||
|
||||
@CordovaInstance()
|
||||
|
Loading…
Reference in New Issue
Block a user