We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0f3764 commit fe4027cCopy full SHA for fe4027c
1 file changed
ticket-backend/app/routes/tickets.py
@@ -321,6 +321,10 @@ async def ingest_ticket(
321
if isinstance(request.payload, dict)
322
else None
323
)
324
+
325
+ # Fallback to payload for flat structures
326
+ if not payload_fields and isinstance(request.payload, dict):
327
+ payload_fields = request.payload
328
329
if isinstance(payload_fields, dict):
330
if "subject" in payload_fields:
@@ -353,6 +357,10 @@ async def ingest_ticket(
353
357
354
358
355
359
360
361
362
363
356
364
365
366
if "description" in payload_fields:
0 commit comments