Skip to content

Commit

Permalink
Fix N3C notifier to Jira on update and delete. (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo authored Jun 26, 2024
1 parent 8d65cfb commit ab7c6b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discovery/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ async def update(self, _id, name, version, user):

async def broadcast(self, event):
for channel in self.channels:
if await channel.handles(event):
await channel.send(event)
if (not isinstance(channel, N3CChannel)) and (await channel.handles(event)):
await channel.send(event)


class SchemaNotifier(Notifier):
Expand Down

0 comments on commit ab7c6b4

Please sign in to comment.