Correct active state websub name.
This commit is contained in:
parent
05f2cd0d93
commit
153995f832
2 changed files with 3 additions and 3 deletions
|
|
@ -211,7 +211,7 @@ defmodule Pleroma.Web.Websub do
|
|||
cut_off = NaiveDateTime.add(NaiveDateTime.utc_now, delta)
|
||||
|
||||
query = from sub in WebsubClientSubscription,
|
||||
where: sub.valid_until < ^cut_off and sub.state == "active"
|
||||
where: sub.valid_until < ^cut_off and sub.state == "accepted"
|
||||
|
||||
subs = Repo.all(query)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue