mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +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 =
|
new_report =
|
||||||
DuplicateReport
|
DuplicateReport
|
||||||
|> where(duplicate_of_image_id: ^duplicate_report.image_id)
|
|> where(duplicate_of_image_id: ^duplicate_report.image_id)
|
||||||
|
|> where(image_id: ^duplicate_report.duplicate_of_image_id)
|
||||||
|> limit(1)
|
|> limit(1)
|
||||||
|> Repo.one()
|
|> Repo.one()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue