bugfix
This commit is contained in:
parent
e6a8ef5f9e
commit
dfe23fffcc
@ -376,7 +376,7 @@ export const dashboardRoutes = (fastify, _, done) => {
|
||||
form.set("hub.callback", env.PUBLIC_API_URL + "/webhooks/youtube");
|
||||
form.set("hub.topic", "https://www.youtube.com/xml/feeds/videos.xml?channel_id=" + user.channel_id);
|
||||
form.set("hub.verify", "async");
|
||||
form.set("hub.mode", auto_publish ? "subscribe" : "unsubscribe");
|
||||
form.set("hub.mode", req.body.auto_publish ? "subscribe" : "unsubscribe");
|
||||
form.set("hub.verify_token", websubVerifyToken);
|
||||
await fetch("https://pubsubhubbub.appspot.com/subscribe", {
|
||||
method: "POST",
|
||||
|
Loading…
Reference in New Issue
Block a user