diff --git a/plugins/gitea-tag b/plugins/gitea-tag index e0269a8..3e49ed7 100644 --- a/plugins/gitea-tag +++ b/plugins/gitea-tag @@ -26,7 +26,7 @@ plugin_getlatestversion() { local -r GITEAUSER=$(readSetting "${PKGSETTINGS}" "giteauser" "") local -r GITEAREPO=$(readSetting "${PKGSETTINGS}" "gitearepo" "") local GITEATAGNAME="" - if ! GITEATAGNAME=$(curl -sL "${GITEABASEURL}/repos/${GITEAUSER}/${GITEAREPO}/tags" | jq -r ".[0].name"); then + if ! GITEATAGNAME=$(curl -sL "${GITEABASEURL}/api/v1/repos/${GITEAUSER}/${GITEAREPO}/tags" | jq -r ".[0].name"); then echo "Error in Gitea API" return 1 fi