Skip to content

Commit 3b1dde2

Browse files
committed
Fix codeQL and typescript error
1 parent f920f5d commit 3b1dde2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/api/v1/aggregatedBalances/snapshots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default async function handler(
7373
});
7474
return 1;
7575
} catch (error) {
76-
console.error(`Failed to store snapshot for wallet ${walletBalance.walletId}:`, error);
76+
console.error('Failed to store snapshot for wallet %s:', walletBalance.walletId, error);
7777
return 0;
7878
}
7979
});

src/pages/api/v1/aggregatedBalances/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default async function handler(
132132
}
133133

134134
// Collect all wallet balances for snapshots
135-
let allWalletBalances = [];
135+
const allWalletBalances = [];
136136
let totalAdaBalance = 0;
137137
let processedWallets = 0;
138138
let failedWallets = 0;

0 commit comments

Comments
 (0)