diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-util/src/http-client/challenger.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/http-client/challenger.ts b/packages/taler-util/src/http-client/challenger.ts index 951bad845..d2f0dd201 100644 --- a/packages/taler-util/src/http-client/challenger.ts +++ b/packages/taler-util/src/http-client/challenger.ts @@ -146,7 +146,7 @@ export class ChallengerHttpClient { * https://docs.taler.net/core/api-challenger.html#post--challenge-$NONCE * */ - async challenge(nonce: string, body: Record<"email", string>) { + async challenge(nonce: string, body: Record<string, string>) { const url = new URL(`challenge/${nonce}`, this.baseUrl); const resp = await this.httpLib.fetch(url.href, { |