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

get_item fails if pass item title of 26characters in length #80

Open
volodymyrZotov opened this issue Sep 8, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@volodymyrZotov
Copy link
Contributor

What happened?

get_item fails if pass item title of 26 characters in length.

 if is_valid_uuid(item):
            return self.get_item_by_id(item, vault_id)
else:
            return self.get_item_by_title(item, vault_id)

What did you expect to happen?

It should search by item title if title is has a length of 26. We try to get it by ID, and if that fails, try by title instead.

Steps to reproduce

use get_item and pass item params as random 26 chars random string

@volodymyrZotov volodymyrZotov added the bug Something isn't working label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant