Skip to content

Always return a transactions array in getTransactions #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

leighmcculloch
Copy link
Member

What

Initialize transactions in the getTransactions response as an empty array.

Why

To ensure the field is not null in the getTransactions JSON response when there are no transactions.

Close #398

@leighmcculloch
Copy link
Member Author

leighmcculloch commented Apr 15, 2025

@leighmcculloch leighmcculloch deleted the i398 branch April 15, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getTransactions should always return transactions as an array instead of null
1 participant