Skip to content

Commit

Permalink
feature: creating feedback msg when a flow its started
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJaeger committed Oct 10, 2023
1 parent ab65c5c commit 5ae38d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chats/apps/api/v1/projects/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ def start_flow(self, request, *args, **kwargs):
chats_flow_start.name = flow_start.get("flow").get("name")
chats_flow_start.save()
feedback = {"name": chats_flow_start.name}
# TODO create feedback fs feedback
create_room_feedback_message(room, feedback, method="fs")
if chats_flow_start.room:
room.notify_room("update")
# TODO create feedback fs feedback
create_room_feedback_message(room, feedback, method="fs")
return Response(flow_start, status.HTTP_200_OK)


Expand Down

0 comments on commit 5ae38d9

Please sign in to comment.