camparchimedes commited on
Commit
53e1943
·
verified ·
1 Parent(s): 42fbae5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
- "booking_id": bestillingskode
 
 
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(