Skip to content

fix: parse HeroSMS country object response#264

Open
TaiLaaa wants to merge 1 commit into
QLHazyCoder:masterfrom
TaiLaaa:fix/herosms-country-object-response
Open

fix: parse HeroSMS country object response#264
TaiLaaa wants to merge 1 commit into
QLHazyCoder:masterfrom
TaiLaaa:fix/herosms-country-object-response

Conversation

@TaiLaaa
Copy link
Copy Markdown

@TaiLaaa TaiLaaa commented May 20, 2026

Fix HeroSMS country list parsing when getCountries returns an object keyed by country id instead of an array/value array. Adds test coverage for object payloads.

Tests: npm test -- tests/sidepanel-phone-verification-settings.test.js

@realfamousfrog-pixel
Copy link
Copy Markdown

This solved the issue for me. Thanks a lot for the fix.

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