summaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/http-client/types.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-util/src/http-client/types.ts b/packages/taler-util/src/http-client/types.ts
index 682b08984..8037b5a16 100644
--- a/packages/taler-util/src/http-client/types.ts
+++ b/packages/taler-util/src/http-client/types.ts
@@ -473,10 +473,10 @@ export const codecForQueryInstancesResponse =
.property(
"auth",
buildCodecForObject<{
- type: "external" | "token";
+ method: "external" | "token";
}>()
.property(
- "type",
+ "method",
codecForEither(
codecForConstString("token"),
codecForConstString("external"),
@@ -3672,7 +3672,7 @@ export namespace TalerMerchantApi {
// Authentication configuration.
// Does not contain the token when token auth is configured.
auth: {
- type: "external" | "token";
+ method: "external" | "token";
};
}