mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
oops
This commit is contained in:
parent
de8001a1ff
commit
a4b85471a6
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ defmodule Philomena.DuplicateReports do
|
|||
new_report =
|
||||
DuplicateReport
|
||||
|> where(duplicate_of_image_id: ^duplicate_report.image_id)
|
||||
|> where(image_id: ^duplicate_report.duplicate_of_image_id)
|
||||
|> limit(1)
|
||||
|> Repo.one()
|
||||
|
||||
|
|
Loading…
Reference in a new issue