mirror of
https://github.com/go-gitea/gitea.git
synced 2026-01-30 23:12:24 +01:00
Fixed the API migration endpoint to set opts.OriginalURL from form.CloneAddr, ensuring consistency with the web route and preventing empty URL in system notices. Removed the TODO comment since OriginalURL is now always populated. Since CloneAddr is a required field (binding:"Required"), OriginalURL will always be non-empty when the API validation passes. Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com> Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>