Skip to content

Commit 7832bd2

Browse files
committed
fix: Fixed a bug where event registration would never happen
1 parent c020f5f commit 7832bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def push_on_publication(article, *args, **kwargs):
3636

3737
def register_for_events():
3838
events_logic.Events.register_for_event(
39-
events_logic.ON_ARTICLE_PUBLISHED,
39+
events_logic.Events.ON_ARTICLE_PUBLISHED,
4040
push_on_publication,
4141
)
4242

0 commit comments

Comments
 (0)