]> source.dussan.org Git - gitea.git/commit
Cause NotifyMigrateRepository to emit a repo create webhook (#14004)
authorzeripath <art27@cantab.net>
Thu, 17 Dec 2020 12:26:22 +0000 (12:26 +0000)
committerGitHub <noreply@github.com>
Thu, 17 Dec 2020 12:26:22 +0000 (13:26 +0100)
commit0851a895819e0a5a1a79dcbd596d4c93d4d47a76
tree14e973b53f5544ee97d95036ebdd4fbb74d34d82
parent80a299d307bd3135eb3fb2f5e2deba600f0698ae
Cause NotifyMigrateRepository to emit a repo create webhook (#14004)

* Cause NotifyMigrateRepository to emit a repo create webhook

This PR simply makes NotifyMigrateRepository emit a Create Repo webhook.
The reason for no new payload is that the information sent to
NotifyMigrateRepository is only essentially the same as
NotifyCreateRepository

Fix #13996

Signed-off-by: Andrew Thornton <art27@cantab.net>
modules/notification/webhook/webhook.go