Skip to content

Commit 4a2be33

Browse files
authored
Merge pull request #299 from hamishfagg/master
fix response type for ModelController DELETE
2 parents 418b502 + 440e573 commit 4a2be33

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)