Skip to content

Commit

Permalink
Put optional params at and
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenclouston committed Nov 25, 2024
1 parent e9edba6 commit 7300b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authsignal/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def delete_user(user_id:)
make_request(:delete, "users/#{url_encode(user_id)}")
end

def validate_challenge(user_id: nil, token:, action: nil)
def validate_challenge(token:, user_id: nil, action: nil)
path = "validate"
body = { user_id: user_id, token: token, action: action }

Expand Down

0 comments on commit 7300b42

Please sign in to comment.