From a6653ab42d48ea1f38a8b9d7e1875a1b878a013d Mon Sep 17 00:00:00 2001 From: Kirill Chernakov Date: Thu, 19 Dec 2024 17:49:32 +0400 Subject: [PATCH] fix: return model from /split incidents --- keep/api/routes/incidents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keep/api/routes/incidents.py b/keep/api/routes/incidents.py index e0ee778cd..5eb8abf72 100644 --- a/keep/api/routes/incidents.py +++ b/keep/api/routes/incidents.py @@ -262,7 +262,7 @@ def delete_incident( @router.post( "/{incident_id}/split", description="Split incident by incident id", - response_model=IncidentDto, + response_model=SplitIncidentResponseDto, ) async def split_incident( incident_id: UUID,