Switch to installing paths in github which do not include repository information.
This commit is contained in:
parent
a7bae6c1d9
commit
3815e9a293
1 changed files with 1 additions and 4 deletions
|
@ -205,10 +205,7 @@ class BuildTriggerActivate(RepositoryParamResource):
|
||||||
'write')
|
'write')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
repository_path = '%s/%s' % (trigger.repository.namespace_user.username,
|
path = url_for('webhooks.build_trigger_webhook', trigger_uuid=trigger.uuid)
|
||||||
trigger.repository.name)
|
|
||||||
path = url_for('webhooks.build_trigger_webhook',
|
|
||||||
repository=repository_path, trigger_uuid=trigger.uuid)
|
|
||||||
authed_url = _prepare_webhook_url(app.config['PREFERRED_URL_SCHEME'], '$token', token.code,
|
authed_url = _prepare_webhook_url(app.config['PREFERRED_URL_SCHEME'], '$token', token.code,
|
||||||
app.config['SERVER_HOSTNAME'], path)
|
app.config['SERVER_HOSTNAME'], path)
|
||||||
|
|
||||||
|
|
Reference in a new issue