Skip to content

Commit 6e258c2

Browse files
dieguezguillenfmelendez
authored andcommitted
🚩 server: show declined transactions activity
1 parent a98574b commit 6e258c2

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@exactly/server": patch
3+
---
4+
5+
🚩 show declined transactions activity

‎server/api/activity.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import {
3535
type InferOutput,
3636
} from "valibot";
3737
import { decodeFunctionData, zeroHash, type Log } from "viem";
38-
import { anvil } from "viem/chains";
3938

4039
import fixedRate from "@exactly/common/fixedRate";
4140
import chain, {
@@ -426,7 +425,6 @@ export default new Hono().get(
426425
}),
427426
]
428427
.filter(<T>(value: T | undefined): value is T => value !== undefined)
429-
.filter((item) => chain.id === anvil.id || !("status" in item && item.status === "declined"))
430428
.toSorted((a, b) => b.timestamp.localeCompare(a.timestamp) || b.id.localeCompare(a.id));
431429

432430
if (maturity !== undefined && pdf) {

0 commit comments

Comments
 (0)