Skip to content

Commit 440e573

Browse files
committed
fix response type for ModelController DELETE
1 parent abdcd95 commit 440e573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ninja_extra/controllers/model/endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def _setup(model_controller_type: t.Type["ModelControllerBase"]) -> t.Callable:
460460
return route.delete(
461461
working_path,
462462
url_name=url_name,
463-
response={status_code: str},
463+
response={status_code: None},
464464
description=description,
465465
operation_id=operation_id,
466466
summary=summary,

0 commit comments

Comments
 (0)