summaryrefslogtreecommitdiff
path: root/src/headless/merchant.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/headless/merchant.ts')
-rw-r--r--src/headless/merchant.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/headless/merchant.ts b/src/headless/merchant.ts
index 27e7e3f21..b479c5a8a 100644
--- a/src/headless/merchant.ts
+++ b/src/headless/merchant.ts
@@ -65,7 +65,7 @@ export class MerchantBackendConnection {
constructor(public merchantBaseUrl: string, public apiKey: string) {}
- async authorizeTip(amount: string, justification: string) {
+ async authorizeTip(amount: string, justification: string): Promise<string> {
const reqUrl = new URL("tip-authorize", this.merchantBaseUrl).href;
const tipReq = {
amount,