From 9a02b4cdb5b6b20b73bd6230748febeebb023f1b Mon Sep 17 00:00:00 2001 From: Guillaume Charest <1690085+gcharest@users.noreply.github.com> Date: Tue, 17 Sep 2024 18:01:01 +0000 Subject: [PATCH] fix: reorder models to have Webhook as last --- app/models/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/webhooks.py b/app/models/webhooks.py index 0f4004ca..228636e1 100644 --- a/app/models/webhooks.py +++ b/app/models/webhooks.py @@ -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)