diff --git a/apps/cos/client.py b/apps/cos/client.py index 6786b8b..2adb4a5 100644 --- a/apps/cos/client.py +++ b/apps/cos/client.py @@ -107,11 +107,6 @@ async def generate_cos_upload_credential(self, filename: str) -> COSCredential: "cos:UploadPart", "cos:CompleteMultipartUpload", ], - "condition": { - "numeric_less_than_equal": { - "cos:content-length": settings.QCLOUD_COS_MAX_UPLOAD_SIZE, - }, - }, } try: sts = Sts(config)