aboutsummaryrefslogtreecommitdiff
path: root/src/webex/wxApi.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r--src/webex/wxApi.ts9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts
index 096d855e0..c1c6eb2d3 100644
--- a/src/webex/wxApi.ts
+++ b/src/webex/wxApi.ts
@@ -226,7 +226,7 @@ export function hashContract(contract: object): Promise<string> {
* the proposal is stored under.
*/
export function saveProposal(proposal: any): Promise<number> {
- return callBackend("save-proposal", proposal);
+ return callBackend("save-proposal", { proposal });
}
/**
@@ -244,13 +244,6 @@ export function queryPayment(url: string): Promise<QueryPaymentResult> {
}
/**
- * Add a new history item.
- */
-export function putHistory(historyEntry: any): Promise<void> {
- return callBackend("put-history-entry", { historyEntry });
-}
-
-/**
* Mark a payment as succeeded.
*/
export function paymentSucceeded(contractTermsHash: string, merchantSig: string): Promise<void> {