mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-09-30 06:43:12 +00:00
fix(logging): drop employee-derived DNs from forwarding log
Resolves new code-scanning alerts 16/17. The closed/holiday DNs added in the previous commit derive from roster employee lookups in the Slack bot, so CodeQL classifies them as private data. Log only the resource type; ring_scheduler already logs the queue number.
This commit is contained in:
parent
32bc75af57
commit
29567729c7
1 changed files with 1 additions and 3 deletions
|
|
@ -102,9 +102,7 @@ class ThreeCXClient:
|
|||
json=payload,
|
||||
)
|
||||
resp.raise_for_status()
|
||||
logger.info(
|
||||
"Updated %s forwarding closed=%s holiday=%s", resource, closed, holiday
|
||||
)
|
||||
logger.info("Updated %s forwarding", resource)
|
||||
return resp.status_code
|
||||
|
||||
def get_ring_group(self, extension_number: str) -> dict:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue