From 0ccb9cc89c32163cf721e9507b61b3b593cfa620 Mon Sep 17 00:00:00 2001 From: MichaelC Date: Sun, 19 Apr 2020 18:00:08 +0100 Subject: [PATCH] This should be requester_id according to pagerduty docs https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1incidents~1%7Bid%7D~1responder_requests/post --- incident.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/incident.go b/incident.go index 2ceffaf1..cd5cb31d 100644 --- a/incident.go +++ b/incident.go @@ -413,7 +413,7 @@ type ResponderRequestTargets struct { type ResponderRequestOptions struct { From string `json:"-"` Message string `json:"message"` - RequesterID string `json:"request_id"` + RequesterID string `json:"requester_id"` Targets []ResponderRequestTarget `json:"responder_request_targets"` }