fix: auto generate type error in controllers/web/conversation.py (#1718)

This commit is contained in:
crazywoola 2023-12-08 11:15:07 +08:00 committed by GitHub
parent e5c7a81ce3
commit a3dca3dabc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ class ConversationRenameApi(WebApiResource):
parser = reqparse.RequestParser()
parser.add_argument('name', type=str, required=False, location='json')
parser.add_argument('auto_generate', type=bool, required=False, default='False', location='json')
parser.add_argument('auto_generate', type=bool, required=False, default=False, location='json')
args = parser.parse_args()
try: