fix: add debug log and null company_id comment to webhook scheduling
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 4m16s
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 4m16s
This commit is contained in:
@@ -1373,8 +1373,9 @@ async def api_case_update(case_number: str, req: CaseUpdateRequest, background_t
|
||||
case_number=case_number,
|
||||
old_status=old_status,
|
||||
new_status=new_status,
|
||||
company_id=company_id,
|
||||
company_id=company_id, # None is safe — plugin handles unknown company gracefully
|
||||
)
|
||||
logger.debug("webhook scheduled: case %s %s → %s", case_number, old_status, new_status)
|
||||
|
||||
return parsed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user