This commit is contained in:
taokuizu 2023-12-19 09:23:49 +00:00 committed by GitHub
parent c3275dfd36
commit 10fc44e2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ class FilePreviewApi(Resource):
return {'content': text} return {'content': text}
class FileeSupportTypApi(Resource): class FileSupportTypeApi(Resource):
@setup_required @setup_required
@login_required @login_required
@account_initialization_required @account_initialization_required
@ -85,4 +85,4 @@ class FileeSupportTypApi(Resource):
api.add_resource(FileApi, '/files/upload') api.add_resource(FileApi, '/files/upload')
api.add_resource(FilePreviewApi, '/files/<uuid:file_id>/preview') api.add_resource(FilePreviewApi, '/files/<uuid:file_id>/preview')
api.add_resource(FileeSupportTypApi, '/files/support-type') api.add_resource(FileSupportTypeApi, '/files/support-type')