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

πŸš‘οΈ (src/db_redis): fix empty request check #30

Merged
merged 15 commits into from
Oct 17, 2024

Conversation

ncvescera
Copy link
Member

@ncvescera ncvescera commented Oct 16, 2024

Fixed a wrong if statement in get_request_data(): request_data[key] could be None (because it's a string Key) or set() (because it's a set Key), respectively generated by __get_key() and __get_skey(). Need to check that req. data is not None and then is not an empty set.

Fixed a wrong if statement in `get_request_data()`: `request_data[key]` could
be `None` (because it's a string Key) or `set()` (because it's a set Key), respectively generated
by `__get_key()` and `__get_skey`. Need to check that req. data is not None and then is not an
empty set.
@ncvescera ncvescera marked this pull request as ready for review October 16, 2024 15:21
@ncvescera ncvescera requested a review from mmirko October 16, 2024 15:21
@ncvescera ncvescera merged commit d001214 into main Oct 17, 2024
2 of 3 checks passed
@ncvescera ncvescera deleted the hotfix/first-request branch October 17, 2024 09:10
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.

1 participant