aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/http-common.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-01-11 16:41:24 -0300
committerSebastian <sebasjm@gmail.com>2024-01-11 16:41:42 -0300
commit82d4ed90caa4a6ea3bdda1fb80ccecf3dc3637f9 (patch)
tree59162f0565311e8699ca643a8bd60337ee7f582b /packages/taler-util/src/http-common.ts
parentca67640f9f94f1150c0fb67c148dc79daa9d3fa0 (diff)
downloadwallet-core-82d4ed90caa4a6ea3bdda1fb80ccecf3dc3637f9.tar.xz
2fa
Diffstat (limited to 'packages/taler-util/src/http-common.ts')
-rw-r--r--packages/taler-util/src/http-common.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/http-common.ts b/packages/taler-util/src/http-common.ts
index 7c58b3874..68e1d2816 100644
--- a/packages/taler-util/src/http-common.ts
+++ b/packages/taler-util/src/http-common.ts
@@ -51,7 +51,7 @@ export const DEFAULT_REQUEST_TIMEOUT_MS = 60000;
export interface HttpRequestOptions {
method?: "POST" | "PATCH" | "PUT" | "GET" | "DELETE";
- headers?: { [name: string]: string };
+ headers?: { [name: string]: string | undefined };
/**
* Timeout after which the request should be aborted.