From d129cb095bea277909e0ef6a46f54bbe5a71b160 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 28 Jun 2024 20:43:25 +0200 Subject: [PATCH] jQuery: fix check --- modules/JQuery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/JQuery.php b/modules/JQuery.php index b019df3..21b7c34 100644 --- a/modules/JQuery.php +++ b/modules/JQuery.php @@ -5,8 +5,8 @@ class JQuery extends PatchBase { parent::__construct('jQuery Foundation', 'jQuery', 'https://jquery.com/download/'); } function check() : bool { - if ($this->fetch_json('https://api.github.com/repos/jquery/jquery/tags')) - return $this->parse_json('name'); + if ($this->fetch_json('https://api.github.com/repos/jquery/jquery/releases/latest')) + return $this->parse_json('tag_name'); return false; } }