Browse Source

remove uneeded exception

Guénaël Muller 6 years ago
parent
commit
346e7c0341
1 changed files with 0 additions and 1 deletions
  1. 0 1
      backend/tracim_backend/views/core_api/workspace_controller.py

+ 0 - 1
backend/tracim_backend/views/core_api/workspace_controller.py View File

@@ -309,7 +309,6 @@ class WorkspaceController(Controller):
309 309
         return content
310 310
 
311 311
     @hapic.with_api_doc(tags=[SWAGGER_TAG_WORKSPACE_ENDPOINTS])
312
-    @hapic.handle_exception(WorkspacesDoNotMatch, HTTPStatus.BAD_REQUEST)
313 312
     @require_workspace_role(UserRoleInWorkspace.READER)
314 313
     @hapic.input_path(WorkspaceAndContentIdPathSchema())
315 314
     @hapic.output_body(NoContentSchema(), default_http_code=HTTPStatus.FOUND)  # nopep8