Skip to content

fix: correct misspelled API payload key in manage_incidents.py#23

Open
Avicennasis wants to merge 1 commit into
PagerDuty:masterfrom
Avicennasis:fix/typo
Open

fix: correct misspelled API payload key in manage_incidents.py#23
Avicennasis wants to merge 1 commit into
PagerDuty:masterfrom
Avicennasis:fix/typo

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Fix a misspelled dictionary key in the incident creation example:

  • REST_API_v2/Incidents/manage_incidents.py line 63: 'assigments''assignments'

The PagerDuty API expects the key assignments in the incident payload. The misspelled key assigments causes the assignment data to be silently ignored when creating incidents via this example script.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant