fix: add eslint-disable for debug log

This commit is contained in:
2026-03-04 03:59:36 +03:00
parent 1412d9b1d5
commit 12618885a0
+2 -1
View File
@@ -58,9 +58,10 @@ export async function getInbox(
if (result.isEmpty || result.length === 0) return [];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return result.map((msg: Record<string, any>) => {
return result.map((msg: any) => {
console.log('[PEZMessage] msg keys:', Object.keys(msg.toJSON?.() ?? msg));
return msg;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
}).map((msg: Record<string, any>) => ({
sender: msg.sender.toString(),
blockNumber: msg.blockNumber?.toNumber?.() ?? msg.block_number?.toNumber?.() ?? 0,