Skip to content

Commit

Permalink
fix: not serializable arguments when calling environment feature vers…
Browse files Browse the repository at this point in the history
…ion webhooks (#4187)
  • Loading branch information
matthewelwell authored Jun 19, 2024
1 parent bcd4621 commit 319708c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/features/versioning/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def trigger_update_version_webhooks(environment_feature_version_uuid: str) -> No
call_environment_webhooks(
environment=environment_feature_version.environment_id,
data=data,
event_type=WebhookEventType.NEW_VERSION_PUBLISHED,
event_type=WebhookEventType.NEW_VERSION_PUBLISHED.value,
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def test_trigger_update_version_webhooks(
}
],
},
event_type=WebhookEventType.NEW_VERSION_PUBLISHED,
event_type=WebhookEventType.NEW_VERSION_PUBLISHED.value,
)


Expand Down

0 comments on commit 319708c

Please sign in to comment.