Skip to content

Fix issue parsing API responses that are just a string#220

Merged
yizshi merged 2 commits intoduosecurity:masterfrom
mbish:string-response
May 4, 2023
Merged

Fix issue parsing API responses that are just a string#220
yizshi merged 2 commits intoduosecurity:masterfrom
mbish:string-response

Conversation

@mbish
Copy link
Copy Markdown
Contributor

@mbish mbish commented May 4, 2023

Fixes #219 by checking for a dict before attempting to use get to fetch the metadata from inside of a response object.

@yizshi yizshi merged commit d21ceaf into duosecurity:master May 4, 2023
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.

metadata parse error in add_user_phone

3 participants