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

/offers command error when no offers exist. #28

Closed
moonstar-x opened this issue Sep 19, 2024 · 1 comment
Closed

/offers command error when no offers exist. #28

moonstar-x opened this issue Sep 19, 2024 · 1 comment
Labels
Type: Bug This is a bug report.

Comments

@moonstar-x
Copy link
Owner

🐛 Describe the Bug

Offers command not working if no offers exist.

✏️ Steps to Reproduce

Run /offers command.

📜 Log

[mget received invalid number of arguments]

Most likely cause is mget requires keys value to be non-empty. Passing an empty array throws an error. Need to check before querying all offers on Redis.

@moonstar-x moonstar-x added the Type: Bug This is a bug report. label Sep 19, 2024
@moonstar-x
Copy link
Owner Author

Fixed in #29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug This is a bug report.
Projects
None yet
Development

No branches or pull requests

1 participant