Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed invalid JSON descriptor for FirstTriggerLogEntry #86

Merged
merged 1 commit into from
Jul 21, 2017

Conversation

mwisniewski0
Copy link
Contributor

Previously the FirstTriggerLogEntry in the struct Incident used "last_trigger_log_entry" as it's underlying JSON description. However, the Pagerduty REST API will return "first_trigger_log_entry". This will cause the FirstTriggerLogEntry to always be empty.
This commit changes the JSON descriptor to "first_trigger_log_entry" and fixes the problem.

Previously the FirstTriggerLogEntry in the struct Incident used "last_trigger_log_entry" as it's underlying JSON description. However, the Pagerduty REST API will return "first_trigger_log_entry". This will cause the FirstTriggerLogEntry to always be empty.
This commit changes the JSON descriptor to "first_trigger_log_entry" and fixes the problem.
@mimato mimato merged commit baff0ec into PagerDuty:master Jul 21, 2017
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.

2 participants