Skip to content

Commit 0716ad5

Browse files
authored
PagerDuty component required an optional field (#17651)
The `assigneeIds` prop from the `pagerduty-trigger-incident` component was marked as required even though the PagerDuty API does not require it (as long as the request includes an escalation policy ID).
1 parent 307085b commit 0716ad5

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

components/pagerduty/actions/trigger-incident/trigger-incident.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
name: "Trigger Incident",
1414
description: "Trigger an incident. [See the docs here](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE0MA-create-an-incident)",
1515
type: "action",
16-
version: "0.0.2",
16+
version: "0.0.3",
1717
props: {
1818
pagerduty,
1919
title: {
@@ -56,6 +56,7 @@ export default {
5656
type: "string[]",
5757
label: "Assignee IDs",
5858
description: "The IDs of the users to assign to the incident. Use a comma-separated list when structured mode is `off` specifying the ids as values. (e.g. `P97DSQO,PWLDHXC,P1M4QLY`)",
59+
optional: true,
5960
propDefinition: [
6061
pagerduty,
6162
"userId",

components/pagerduty/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/pagerduty",
3-
"version": "0.3.8",
3+
"version": "0.3.9",
44
"description": "Pipedream Pagerduty Components",
55
"main": "pagerduty.app.mjs",
66
"keywords": [

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)