fix(api): stop returning 204 with response body and add CI check (#36489)

This commit is contained in:
chariri
2026-05-22 01:20:34 +09:00
committed by GitHub
parent f19702f76c
commit ea5e487d3c
29 changed files with 46 additions and 46 deletions

View File

@@ -136,7 +136,7 @@ class ConversationApi(WebApiResource):
ConversationService.delete(app_model, conversation_id, end_user)
except ConversationNotExistsError:
raise NotFound("Conversation Not Exists.")
return ResultResponse(result="success").model_dump(mode="json"), 204
return "", 204
@web_ns.route("/conversations/<uuid:c_id>/name")

View File

@@ -112,4 +112,4 @@ class SavedMessageApi(WebApiResource):
SavedMessageService.delete(app_model, end_user, message_id)
return ResultResponse(result="success").model_dump(mode="json"), 204
return "", 204