Fix the spawn_notification to work in all cases and clean up some of the remaining code
This commit is contained in:
parent
591cd020b8
commit
752efb9e0f
17 changed files with 18379 additions and 18415 deletions
|
@ -1581,7 +1581,7 @@ def list_repo_notifications(namespace_name, repository_name, event_name=None):
|
|||
|
||||
if event_name:
|
||||
event = ExternalNotificationEvent.get(ExternalNotificationEvent.name == event_name)
|
||||
where = where.where(Repostiory.event == event)
|
||||
where = where.where(RepositoryNotification.event == event)
|
||||
|
||||
return where
|
||||
|
||||
|
|
Reference in a new issue