Skip to content
Permalink
Browse files
default to PR when unknown
  • Loading branch information
Humbedooh committed Apr 4, 2022
1 parent bd288a8 commit cb377ad1aac7e1bc07ff397b68c353b12c646f14
Showing 1 changed file with 1 addition and 1 deletion.
@@ -184,7 +184,7 @@ def handle_payload(self, raw):
self.diffcomments[uid] = DiffComments(uid, payload)
self.diffcomments[uid].add(filename, diff, text)

ml = self.get_recipient(repository, payload.get("type"), action)
ml = self.get_recipient(repository, payload.get("type", "pullrequest"), action)
print("notifying", ml)
ml_list, ml_domain = ml.split("@", 1)
if real_action in self.templates:

0 comments on commit cb377ad

Please sign in to comment.