Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix api_gateway_authorizer caching ttl in case explicitly set to 0 #8267

Closed
wants to merge 1 commit into from
Closed

Fix api_gateway_authorizer caching ttl in case explicitly set to 0 #8267

wants to merge 1 commit into from

Commits on Apr 10, 2019

  1. Fix api_gateway_authorizer caching ttl in case explicitly set to 0

    The GetOk will compare the value to the default zero value of a
    type. When the ttl is set to 0, the value matches the default zero
    value of the type Integer and will be ignored for the api request.
    Normally not a problem, but in this case, this results in an authorizer
    with a cache ttl of null, which defaults to 300s on AWS side.
    fixes #705
    f3lang committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    49afab0 View commit details
    Browse the repository at this point in the history