Skip to content

Commit

Permalink
fix: use correct event type for forum events
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Dec 16, 2024
1 parent 9be965f commit 9041733
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openedx_events/learning/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
# .. event_data: DiscussionThreadData
# .. event_warning: This event is currently incompatible with the event bus, list/dict cannot be serialized yet
FORUM_THREAD_CREATED = OpenEdxPublicSignal(
event_type="org.openedx.learning.thread.created.v1",
event_type="org.openedx.learning.forum.thread.created.v1",
data={
"thread": DiscussionThreadData,
}
Expand All @@ -309,7 +309,7 @@
# .. event_data: DiscussionThreadData
# .. event_warning: This event is currently incompatible with the event bus, list/dict cannot be serialized yet
FORUM_THREAD_RESPONSE_CREATED = OpenEdxPublicSignal(
event_type="org.openedx.learning.response.created.v1",
event_type="org.openedx.learning.forum.thread.response.created.v1",
data={
"thread": DiscussionThreadData,
}
Expand All @@ -321,7 +321,7 @@
# .. event_data: DiscussionThreadData
# .. event_warning: This event is currently incompatible with the event bus, list/dict cannot be serialized yet
FORUM_RESPONSE_COMMENT_CREATED = OpenEdxPublicSignal(
event_type="org.openedx.learning.response.created.v1",
event_type="org.openedx.learning.forum.thread.response.comment.created.v1",
data={
"thread": DiscussionThreadData,
}
Expand Down

0 comments on commit 9041733

Please sign in to comment.