Update app.py
Browse files
app.py
CHANGED
@@ -158,10 +158,11 @@ async def handle_message(message: cl.Message):
|
|
158 |
bestillingskode = match.group()
|
159 |
endpoint_url = "https://aivisions.no/data/daysoff/api/v1/booking/"
|
160 |
|
161 |
-
|
162 |
post_data = {
|
163 |
"url": endpoint_url,
|
164 |
-
"
|
|
|
|
|
165 |
}
|
166 |
|
167 |
response = await post_tool.ainvoke(
|
|
|
158 |
bestillingskode = match.group()
|
159 |
endpoint_url = "https://aivisions.no/data/daysoff/api/v1/booking/"
|
160 |
|
|
|
161 |
post_data = {
|
162 |
"url": endpoint_url,
|
163 |
+
"data": {
|
164 |
+
"booking_id": bestillingskode
|
165 |
+
}
|
166 |
}
|
167 |
|
168 |
response = await post_tool.ainvoke(
|