Skip to content

Commit

Permalink
add loggin for conversations
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNi245 committed Jun 26, 2024
1 parent d5eecf6 commit 70d6fa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/backend/src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ export default (
try {
const ensName = normalizeEnsName(req.params.ensName);

console.log('getConversations query', req.query);

const pageSize =
parseInt(req.query.pageSize as string) ||
DEFAULT_CONVERSATION_PAGE_SIZE;
Expand All @@ -231,6 +233,8 @@ export default (
return;
}

console.log('fetch conversations', pageSize, offset);

const conversations = await db.getConversationList(
ensName,
pageSize,
Expand Down

0 comments on commit 70d6fa2

Please sign in to comment.