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