We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c51ff6 commit 893d7a7Copy full SHA for 893d7a7
src/server/schemas/transaction/index.ts
@@ -288,7 +288,7 @@ export const toTransactionSchema = (
288
? transaction.cancelledAt.toISOString()
289
: null,
290
errorMessage:
291
- "errorMessage" in transaction ? transaction.errorMessage : null,
+ "errorMessage" in transaction ? transaction.errorMessage ?? null : null,
292
sentAtBlockNumber:
293
"sentAtBlock" in transaction ? Number(transaction.sentAtBlock) : null,
294
blockNumber:
0 commit comments