duo_client_python icon indicating copy to clipboard operation
duo_client_python copied to clipboard

Cast limit in get_authentication_log to a string

Open MartijnBl opened this issue 9 months ago • 0 comments
trafficstars

The API endpoint expects limit to be a string.

Cast the limit to a sting before sending off the API request

Description

Cast the limit to a sting before sending off the API request

Motivation and Context

A user of the api lib would reasonably expect a limit to be an int, not a string. Arguable the endpoint will probably cast this back to an int straight away :)

How Has This Been Tested?

Locally tested

Types of Changes

  • [x ] 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)

MartijnBl avatar Feb 19 '25 09:02 MartijnBl