Skip to content

Commit

Permalink
fix: reorder models to have Webhook as last
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharest authored Sep 17, 2024
1 parent 5cdd0d0 commit 9a02b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ def validate_string_payload_type(payload: str) -> tuple:
return None, None

known_models: List[Type[BaseModel]] = [
WebhookPayload,
AwsSnsPayload,
AccessRequest,
UpptimePayload,
WebhookPayload,
]
model_params = model_utils.get_dict_of_parameters_from_models(known_models)

Expand Down

0 comments on commit 9a02b4c

Please sign in to comment.