utils: access inReplyTo as an explicit string when fetching poll results`
This commit is contained in:
parent
0f8f63c6bb
commit
37a4ba0624
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ def get_existing_votes(actor, %{data: %{"id" => id}}) do
|
||||||
where: fragment("(?)->>'actor' = ?", activity.data, ^actor),
|
where: fragment("(?)->>'actor' = ?", activity.data, ^actor),
|
||||||
where:
|
where:
|
||||||
fragment(
|
fragment(
|
||||||
"(?)->'inReplyTo' = ?",
|
"(?)->>'inReplyTo' = ?",
|
||||||
object.data,
|
object.data,
|
||||||
^to_string(id)
|
^to_string(id)
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue