File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
services/web/server/src/simcore_service_webserver/conversations Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,7 @@ async def create_support_message_and_check_if_it_is_first_message(
7878 content = content ,
7979 type_ = type_ ,
8080 )
81-
82- await _conversation_message_repository .list_ (
81+ _ , messages = await _conversation_message_repository .list_ (
8382 app ,
8483 conversation_id = conversation_id ,
8584 offset = 0 ,
@@ -89,12 +88,6 @@ async def create_support_message_and_check_if_it_is_first_message(
8988 ), # NOTE: ASC - first/oldest message first
9089 )
9190
92- _ , messages = await list_messages_for_conversation (
93- app ,
94- conversation_id = conversation_id ,
95- offset = 0 ,
96- limit = 1 ,
97- )
9891 is_first_message = False
9992 if messages :
10093 first_message = messages [0 ]
You can’t perform that action at this time.
0 commit comments