Skip to content

Commit

Permalink
assignees, label changes and domain not setting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaanbaaz committed Nov 25, 2024
1 parent 30bb049 commit dcb7b26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions events/ticketEventHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ async def onTicketCreate(self, eventData):
# Filter the labels to include only the desired ones
filtered_labels = []
for label in labels:
if label in desired_labels:
filtered_labels.append(label)
if label["name"] in desired_labels:
filtered_labels.append(label["name"])

print('filtered labels ', filtered_labels)

Expand Down Expand Up @@ -306,8 +306,8 @@ async def onTicketEdit(self, eventData):
# Filter the labels to include only the desired ones
filtered_labels = []
for label in labels:
if label in desired_labels:
filtered_labels.append(label)
if label["name"] in desired_labels:
filtered_labels.append(label["name"])

print('filtered labels ', filtered_labels)

Expand Down

0 comments on commit dcb7b26

Please sign in to comment.