The queue already adds 'notification' to the path

This commit is contained in:
Joseph Schorr 2014-07-29 15:19:05 -04:00
parent 6b85ee3eb6
commit 1c7d72914b

View file

@ -39,5 +39,5 @@ def spawn_notification(repo, event_name, extra_data={}, subpage=None, pathargs=[
'event_data': event_data
}
path = [repo.namespace, repo.name, 'notification', event_name] + pathargs
path = [repo.namespace, repo.name, event_name] + pathargs
notification_queue.put(path, json.dumps(notification_data))