Commit 9f15937f authored by lain's avatar lain
Browse files

Actually guess 3 days...

parent d2c4a427
......@@ -24,7 +24,7 @@ def websub_subscription_confirmation(conn, %{"id" => id, "hub.mode" => "subscrib
String.to_integer(params["hub.lease_seconds"])
else
# Guess 3 days
60 * 24 * 3
60 * 60 * 24 * 3
end
with %WebsubClientSubscription{} = websub <- Repo.get_by(WebsubClientSubscription, id: id, topic: topic) do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment