Skip to content

Conversation

@github-actions
Copy link

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

* Fix missing transactions for bank_tx records

Add migration to create transaction records for bank_tx entries
that were imported without a corresponding transaction.

This fixes the error "Cannot convert undefined or null to object"
when trying to set the type (e.g., BankTxReturn) on affected bank_tx
records via admin endpoint.

Affected records: bank_tx IDs 186224, 186225

* Fix migration security issues

- Use crypto.randomBytes() instead of Math.random() for UID generation
- Use OUTPUT clause instead of SCOPE_IDENTITY() for reliable ID retrieval
- Use parameterized queries instead of string interpolation
@TaprootFreak TaprootFreak merged commit 4947203 into main Jan 19, 2026
7 checks passed
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.

2 participants