Skip to content

Commit

Permalink
fix(sqlite): fix callback order for transaction (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Oct 15, 2016
1 parent b95f88c commit 799e2f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/sqlite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ export class SQLite {
})
addTransaction(transaction: any): void { }

@CordovaInstance()
@CordovaInstance({
successIndex: 2,
errorIndex: 1
})
transaction(fn: any): Promise<any> { return; }

@CordovaInstance()
Expand Down

0 comments on commit 799e2f0

Please sign in to comment.