Skip to content

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

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

yizshi merged 2 commits into
duosecurity:masterfrom
mbish:string-response

Conversation

@mbish

@mbish mbish commented May 4, 2023

Copy link
Copy Markdown
Contributor

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