Skip to content

device_token errors can be nested within the array#173

Merged
kinnay merged 7 commits intokinnay:masterfrom
TheGreatRambler:device_token_errors
Aug 22, 2025
Merged

device_token errors can be nested within the array#173
kinnay merged 7 commits intokinnay:masterfrom
TheGreatRambler:device_token_errors

Conversation

@TheGreatRambler
Copy link
Copy Markdown
Contributor

When calling device_tokens or edge_tokens the error field can be nested within one of the results. This PR correctly identifies that case and returns a DAuthError accordingly.

@kinnay
Copy link
Copy Markdown
Owner

kinnay commented Aug 14, 2025

I've changed it a bit to reduce code duplication. Let me know what you think.

@TheGreatRambler
Copy link
Copy Markdown
Contributor Author

Lgtm

@kinnay kinnay merged commit 1e440ce into kinnay:master Aug 22, 2025
1 check 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