|
|
|
@ -49,7 +49,7 @@ export function useConversationNewItem() {
|
|
|
|
|
guest_phone: body.phone_number || '',
|
|
|
|
|
guest_name: body.name || '',
|
|
|
|
|
}
|
|
|
|
|
const createdNew = await postNewOrEditConversationItem({ ...newChat, opi_sn: opisn || userId, conversationid });
|
|
|
|
|
const createdNew = await postNewOrEditConversationItem({ ...newChat, opisn: opisn || userId, conversationid });
|
|
|
|
|
// addToConversationList([{...createdNew, sn: createdNew.conversationid}]);
|
|
|
|
|
const _list = await fetchConversationsList({ opisn });
|
|
|
|
|
addToConversationList(_list);
|
|
|
|
|