Skip to content

Conversation

@SimonSapin
Copy link

Fixes #346

Comment on lines +322 to 323
// TODO: times 2 for the number of arguments, no the number of pairs
args.push(options.params.len().try_into()?);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t have an environment to easily run the test suite so I was hoping for this first commit without the fix to witness a failing CI run, but it looks like CI is not enabled on PRs from forks. The fix below works for me:

Suggested change
// TODO: times 2 for the number of arguments, no the number of pairs
args.push(options.params.len().try_into()?);
args.push((options.params.len() * 2).try_into()?);

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.

[Bug] FT.SEARCH PARAMS error: "Parameters must be specified in PARAM VALUE pairs"

1 participant