Skip to content

Commit

Permalink
Merge pull request #864 from longguikeji/feature-211
Browse files Browse the repository at this point in the history
fix: 🐛 修复webhook bug
  • Loading branch information
fanhe-lg authored May 24, 2022
2 parents c375ef3 + 407b329 commit f19b527
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arkid/core/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ def register_event_type(event_type: EventType):
if tag in tag_map_event_type:
return
tag_map_event_type[tag] = event_type
listen_event(tag, webhook_event_handler)
if tag in temp_listens.keys():
func, listener, kwargs = temp_listens[tag]
listen_event(tag, func, listener, **kwargs)
Expand Down

0 comments on commit f19b527

Please sign in to comment.