services.py: correct hg user webhook location

This commit is contained in:
Drew DeVault 2020-04-29 10:05:03 -04:00
parent ef585b6e3f
commit a15ff75966
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class HgService(SrhtService):
def ensure_user_webhooks(self, user):
config = {
origin + url_for("webhooks.hg_repo", user_id=user.id):
origin + url_for("webhooks.hg_user", user_id=user.id):
["repo:update", "repo:delete"],
}
ensure_webhooks(user, f"{_hgsrht}/api/user/webhooks", config)