aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/managers/github/client.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/managers/github/client.lua')
-rw-r--r--lua/mason-core/managers/github/client.lua2
1 files changed, 1 insertions, 1 deletions
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<string> - 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