From 9e793781a108ed028be0deab1c42554cbeb12e68 Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 18 Jul 2022 02:33:07 +0200 Subject: fix(github): update api url for fetching latest git tag --- lua/mason-core/managers/github/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/mason-core/managers/github/client.lua') diff --git a/lua/mason-core/managers/github/client.lua b/lua/mason-core/managers/github/client.lua index b2ddb44d..80011e22 100644 --- a/lua/mason-core/managers/github/client.lua +++ b/lua/mason-core/managers/github/client.lua @@ -100,7 +100,7 @@ end ---@return Result: Result - The latest tag name. function M.fetch_latest_tag(repo) -- https://github.com/williamboman/vercel-github-api-latest-tag-proxy - return fetch(("https://latest-github-tag.redwill.se/api/latest-tag?repo=%s"):format(repo)) + return fetch(("https://latest-github-tag.redwill.se/api/repo/%s/latest-tag"):format(repo)) :map_catching(vim.json.decode) :map(_.prop "tag") end -- cgit v1.2.3-70-g09d2