diff options
Diffstat (limited to 'content_scripts')
-rw-r--r-- | content_scripts/notify.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index f5c3fb575..c6351fcf7 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -27,7 +27,7 @@ "use strict"; -import {createReserve, confirmContract, executeContract} from "../lib/shopApi"; +import {createReserve, confirmContract, fetchPayment} from "../lib/shopApi"; // Make sure we don't pollute the namespace too much. namespace TalerNotify { @@ -118,8 +118,8 @@ namespace TalerNotify { }); }); - addHandler("taler-execute-contract", (e: CustomEvent) => { - executeContract(e.detail.H_contract, e.detail.offering_url); + addHandler("taler-fetch-payment", (e: CustomEvent) => { + fetchPayment(e.detail.H_contract, e.detail.offering_url); }); } }
\ No newline at end of file |