Skip to content

Commit

Permalink
chore(YouTube - Announcements): Add missing language parameter to ann…
Browse files Browse the repository at this point in the history
…ouncement api call
  • Loading branch information
LisoUseInAIKyrios committed Nov 9, 2024
1 parent 084e0a5 commit 78ef1b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import static app.revanced.extension.youtube.requests.Route.Method.GET;

public class AnnouncementsRoutes {
public static final Route GET_LATEST_ANNOUNCEMENTS = new Route(GET, "/announcements/latest?tag=youtube");
public static final Route GET_LATEST_ANNOUNCEMENTS = new Route(GET, "/announcements/latest?tag=youtube&language={language}");
public static final Route GET_LATEST_ANNOUNCEMENT_IDS = new Route(GET, "/announcements/latest/id?tag=youtube");
private static final String ANNOUNCEMENTS_PROVIDER = "https://api.revanced.app/v4";

Expand Down

0 comments on commit 78ef1b5

Please sign in to comment.