diff --git a/modules/Duplicity.php b/modules/Duplicity.php index 4ca9c9a..b3f4fb9 100644 --- a/modules/Duplicity.php +++ b/modules/Duplicity.php @@ -5,8 +5,8 @@ class Duplicity extends PatchBase { parent::__construct('Kenneth Loafman', 'Duplicity', 'http://duplicity.gitlab.io/duplicity-web/'); } function check() : bool { - if ($this->fetch_json('https://gitlab.com/api/v4/projects/12450835/repository/tags')) - return $this->parse_json('name', '/rel\.(.+)/'); + if ($this->fetch_json('https://gitlab.com/api/v4/projects/12450835/releases')) + return $this->parse_json('tag_name', '/rel\.(.+)/'); return false; } }