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: only convert commands query param when provided #1140

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

plyr4
Copy link
Contributor

@plyr4 plyr4 commented Jun 7, 2024

commands=false in the sdk is actually not applying the query param at all. makes sense, but my bad on the strict validation.

fixes this worker error when using id_request: write

error:unable to parse 'commands' query parameter as boolean : strconv.ParseBool: parsing "": invalid syntax

@plyr4 plyr4 requested a review from a team as a code owner June 7, 2024 20:54
Copy link

codecov bot commented Jun 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 51.97%. Comparing base (ad8e820) to head (a50c531).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1140      +/-   ##
==========================================
- Coverage   51.98%   51.97%   -0.01%     
==========================================
  Files         548      548              
  Lines       18791    18794       +3     
==========================================
  Hits         9768     9768              
- Misses       8465     8468       +3     
  Partials      558      558              
Files Coverage Δ
api/build/id_request_token.go 0.00% <0.00%> (ø)

@plyr4 plyr4 merged commit d086065 into main Jun 10, 2024
11 of 13 checks passed
@plyr4 plyr4 deleted the fix/oidc-validation-commands branch June 10, 2024 15:23
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.

3 participants