Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/apps/wallet-admin/src/lib/services/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export async function exportSearchResults(filters: Record<string, string[]>): Pr
}

if (filters.winnerIds && filters.winnerIds.length > 0) {
payload.winnerIds = filters.winnerIds
payload.winnerIds = filters.winnerIds.map(id => id.toString())

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
Ensure that all elements in filters.winnerIds are valid and can be safely converted to strings. If any element is null or undefined, this could lead to unexpected behavior.

}

const body = JSON.stringify(payload)
Expand Down