From d89da3ef1251e8a1e532b1003b46057a6412f491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Sat, 27 Jun 2026 12:07:25 -0400 Subject: [PATCH] fix: correct misspelled API payload key in manage_incidents.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix dict key 'assigments' → 'assignments' in the incident creation payload. The PagerDuty API expects 'assignments', so the misspelled key causes the assignment to be silently ignored. --- REST_API_v2/Incidents/manage_incidents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/REST_API_v2/Incidents/manage_incidents.py b/REST_API_v2/Incidents/manage_incidents.py index 4d62b1a..a7a4ca9 100755 --- a/REST_API_v2/Incidents/manage_incidents.py +++ b/REST_API_v2/Incidents/manage_incidents.py @@ -60,7 +60,7 @@ def manage_incidents(): 'id': INCIDENT_ONE_ID, 'type': 'incident', 'status': INCIDENT_ONE_STATUS, - 'assigments': [{ + 'assignments': [{ 'assignee': { 'id': INCIDENT_ONE_ASSIGNEE_ID, 'type': INCIDENT_ONE_ASSIGNEE_TYPE