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

Repo get_by use during image upload is incorrect #322

Open
liamwhite opened this issue Jul 7, 2024 · 0 comments
Open

Repo get_by use during image upload is incorrect #322

liamwhite opened this issue Jul 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@liamwhite
Copy link
Contributor

other_image = Repo.get_by(Image, image_orig_sha512_hash: sha512)

Raises when there is more than one matching

@liamwhite liamwhite added the bug Something isn't working label Jul 7, 2024
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