Skip to content

add new addParam to allow JSONArray for new api param type - #77

Closed
yizshi wants to merge 2 commits into
masterfrom
allow_json_array
Closed

yizshi wants to merge 2 commits into
masterfrom
allow_json_array

Conversation

@yizshi

@yizshi yizshi commented Oct 10, 2023

Copy link
Copy Markdown
Contributor

The new username_list admin api require a JSON serialized array as value.

Description

This PR add JSONArray type as acceptable type for addParam function

Motivation and Context

It would be possible to use username_list without this PR, you could in client, pass in use .toString() for the
json array. This PR just make it slightly easiler to use it.

How Has This Been Tested?

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@AaronAtDuo

Copy link
Copy Markdown
Contributor

@yizshi Any new tests that would be reasonable to add?

@yizshi

yizshi commented Nov 15, 2023

Copy link
Copy Markdown
Contributor Author

Since duo changed api side to use new endpoint for this issue, going to close to PR

@yizshi yizshi closed this Nov 15, 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.

2 participants