Skip to content

Commit 9d1a42f

Browse files
committed
Keep the payload
1 parent 1f988ab commit 9d1a42f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/infrahub/graphql/types/event.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ class Meta:
123123
reviewer_account_id = String(required=True, description="The ID of the user who reviewed the proposed change")
124124
reviewer_account_name = String(required=True, description="The name of the user who reviewed the proposed change")
125125
reviewer_decision = String(required=True, description="The decision made by the reviewer")
126+
payload = Field(GenericScalar, required=True)
126127

127128

128129
class ProposedChangeReviewRevokedEvent(ObjectType):
@@ -132,6 +133,7 @@ class Meta:
132133
reviewer_account_id = String(required=True, description="The ID of the user who reviewed the proposed change")
133134
reviewer_account_name = String(required=True, description="The name of the user who reviewed the proposed change")
134135
reviewer_former_decision = String(required=True, description="The decision made by the reviewer")
136+
payload = Field(GenericScalar, required=True)
135137

136138

137139
# ---------------------------------------

0 commit comments

Comments
 (0)