Get PubSub Hub url from constants

This commit is contained in:
Ellie 2022-10-04 07:46:19 +00:00 committed by GitHub
parent a10d2f6edf
commit 4e155fc70a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1705,7 +1705,7 @@ public class ResponseHelper {
String topic = "https://www.youtube.com/xml/feeds/videos.xml?channel_id=" + channelId;
var builder = new Request.Builder()
.url("https://pubsubhubbub.appspot.com/subscribe");
.url(Constants.PUBSUB_HUB_URL);
var formBuilder = new FormBody.Builder();