Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,6 @@ async def webhook(request: Request):
|
|
15 |
data = await request.json()
|
16 |
|
17 |
# Save data to a file or perform any other operation
|
18 |
-
with open("received_data.json", "w") as f:
|
19 |
-
json.dump(data, f)
|
20 |
|
21 |
# Return a success message
|
22 |
return {"status": "success", "message": "Data received successfully", "received_data": data}
|
|
|
15 |
data = await request.json()
|
16 |
|
17 |
# Save data to a file or perform any other operation
|
|
|
|
|
18 |
|
19 |
# Return a success message
|
20 |
return {"status": "success", "message": "Data received successfully", "received_data": data}
|