From e1369ff7e8fc02116b9c4261036f0e42e3423cf4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 2 Dec 2019 00:42:40 +0100 Subject: the giant refactoring: split wallet into multiple parts --- src/headless/helpers.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/headless/helpers.ts') diff --git a/src/headless/helpers.ts b/src/headless/helpers.ts index 9faf24daf..e5338369e 100644 --- a/src/headless/helpers.ts +++ b/src/headless/helpers.ts @@ -28,13 +28,13 @@ import { SynchronousCryptoWorkerFactory } from "../crypto/synchronousWorker"; import { openTalerDb } from "../db"; import Axios from "axios"; import querystring = require("querystring"); -import { HttpRequestLibrary } from "../http"; -import * as amounts from "../amounts"; +import { HttpRequestLibrary } from "../util/http"; +import * as amounts from "../util/amounts"; import { Bank } from "./bank"; import fs = require("fs"); import { NodeCryptoWorkerFactory } from "../crypto/nodeProcessWorker"; -import { Logger } from "../logging"; +import { Logger } from "../util/logging"; const logger = new Logger("helpers.ts"); @@ -51,7 +51,7 @@ class ConsoleBadge implements Badge { } export class NodeHttpLib implements HttpRequestLibrary { - async get(url: string): Promise { + async get(url: string): Promise { try { const resp = await Axios({ method: "get", @@ -70,7 +70,7 @@ export class NodeHttpLib implements HttpRequestLibrary { async postJson( url: string, body: any, - ): Promise { + ): Promise { try { const resp = await Axios({ method: "post", -- cgit v1.2.3