forked from AkkomaGang/akkoma
Actually guess 3 days...
This commit is contained in:
parent
d2c4a427f1
commit
9f15937fe6
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def websub_subscription_confirmation(conn, %{"id" => id, "hub.mode" => "subscrib
|
||||||
String.to_integer(params["hub.lease_seconds"])
|
String.to_integer(params["hub.lease_seconds"])
|
||||||
else
|
else
|
||||||
# Guess 3 days
|
# Guess 3 days
|
||||||
60 * 24 * 3
|
60 * 60 * 24 * 3
|
||||||
end
|
end
|
||||||
|
|
||||||
with %WebsubClientSubscription{} = websub <- Repo.get_by(WebsubClientSubscription, id: id, topic: topic) do
|
with %WebsubClientSubscription{} = websub <- Repo.get_by(WebsubClientSubscription, id: id, topic: topic) do
|
||||||
|
|
Loading…
Reference in a new issue