From aaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 30 Mar 2020 16:09:32 +0530 Subject: re-format with prettier v2, fix HTML --- src/headless/merchant.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/headless/merchant.ts') diff --git a/src/headless/merchant.ts b/src/headless/merchant.ts index b30e00d8a..27e7e3f21 100644 --- a/src/headless/merchant.ts +++ b/src/headless/merchant.ts @@ -23,7 +23,10 @@ * Imports. */ import axios from "axios"; -import { CheckPaymentResponse, codecForCheckPaymentResponse } from "../types/talerTypes"; +import { + CheckPaymentResponse, + codecForCheckPaymentResponse, +} from "../types/talerTypes"; /** * Connection to the *internal* merchant backend. @@ -133,7 +136,7 @@ export class MerchantBackendConnection { if (resp.status != 200) { throw Error("failed to check payment"); } - + return codecForCheckPaymentResponse().decode(resp.data); } } -- cgit v1.2.3