0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-30 18:52:30 +01:00
copilot-swe-agent[bot] e94ea1b961 Set OriginalURL in API migration to match web route behavior
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>
2026-01-30 09:02:31 +00:00
..
2026-01-24 05:11:49 +00:00