We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19ef112 commit ae2eaabCopy full SHA for ae2eaab
1 file changed
packages/haystack/src/debug.ts
@@ -33,9 +33,7 @@ export function logSwapExecutionFailure(
33
toASAID: context.quote.toASAID,
34
type: context.quote.type,
35
amount:
36
- 'amount' in context.quote
37
- ? context.quote.amount.toString()
38
- : undefined,
+ 'amount' in context.quote ? context.quote.amount.toString() : undefined,
39
quote: context.quote.quote.toString(),
40
requiredAppOptIns: context.quote.requiredAppOptIns,
41
route: context.quote.route?.map((r) => ({
0 commit comments