Skip to content

Commit c915eab

Browse files
committed
PagerDuty component required an optional field
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 c915eab

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
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",

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)