Spaces:
Runtime error
Runtime error
Update List_Sharepoint.py
Browse files- List_Sharepoint.py +1 -2
List_Sharepoint.py
CHANGED
@@ -6,8 +6,7 @@ def upload_list_sharepoint(tel,name,message,respuesta):
|
|
6 |
list = context.web.lists.get_by_title("ConversacionesVapeo") #CONECTAMOS A LA LISTA
|
7 |
|
8 |
# Define la nueva interacción
|
9 |
-
new_interaction =
|
10 |
-
|
11 |
# Busca en la lista un elemento con el mismo User_ID
|
12 |
|
13 |
items = list.get_items()
|
|
|
6 |
list = context.web.lists.get_by_title("ConversacionesVapeo") #CONECTAMOS A LA LISTA
|
7 |
|
8 |
# Define la nueva interacción
|
9 |
+
new_interaction = {"from":{"role":1},"text":message},{"from":{"role":0},"text":respuesta}
|
|
|
10 |
# Busca en la lista un elemento con el mismo User_ID
|
11 |
|
12 |
items = list.get_items()
|