Webhooks: Add comment field (#3095)

This commit is contained in:
ser8phin
2023-02-07 15:17:19 +01:00
committed by GitHub
parent ba2c6e1e58
commit 82dd417a8e
7 changed files with 29 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ class WebHookSerializer(I18nAwareModelSerializer):
class Meta:
model = WebHook
fields = ('id', 'enabled', 'target_url', 'all_events', 'limit_events', 'action_types')
fields = ('id', 'enabled', 'target_url', 'all_events', 'limit_events', 'action_types', 'comment')
def validate(self, data):
data = super().validate(data)