From 95542823ad55f319746209e29b529c43bad3f579 Mon Sep 17 00:00:00 2001 From: carefree0910 Date: Mon, 15 Jul 2024 16:25:28 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8Fixed=20legacy=20usage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cfdraw/plugins/middlewares/response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfdraw/plugins/middlewares/response.py b/cfdraw/plugins/middlewares/response.py index 5adf8d6..b0eecdb 100644 --- a/cfdraw/plugins/middlewares/response.py +++ b/cfdraw/plugins/middlewares/response.py @@ -40,7 +40,7 @@ async def process( ) ) meta = PngInfo() - meta.add_text("request", self.request.json()) + meta.add_text("request", self.request.model_dump_json()) t = time.time() audit = self.plugin.image_should_audit upload = ImageUploader.upload_image