summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/operation.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src/operation.ts')
-rw-r--r--packages/taler-util/src/operation.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/taler-util/src/operation.ts b/packages/taler-util/src/operation.ts
index ecf4a020a..0debd09fd 100644
--- a/packages/taler-util/src/operation.ts
+++ b/packages/taler-util/src/operation.ts
@@ -174,10 +174,7 @@ export function narrowOpSuccessOrThrow<Body, ErrorEnum>(
{
operation: opName,
error: String(opRes.case),
- detail:
- "detail" in opRes
- ? opRes.detail
- : undefined,
+ detail: "detail" in opRes ? opRes.detail : undefined,
},
`Operation ${opName} failed: ${String(opRes.case)}`,
);