From b273cb5f49a027bc249f8a91141f9861496b8734 Mon Sep 17 00:00:00 2001 From: jaehwang Date: Fri, 7 Nov 2025 13:56:58 +0900 Subject: [PATCH] =?UTF-8?q?delete=20method=EC=97=90=EC=84=9C=20HTTPS=20409?= =?UTF-8?q?=20=EC=A0=9C=EA=B1=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-server/app/module/mysql_utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api-server/app/module/mysql_utils.py b/api-server/app/module/mysql_utils.py index fc26cd6..08e5f96 100644 --- a/api-server/app/module/mysql_utils.py +++ b/api-server/app/module/mysql_utils.py @@ -125,8 +125,7 @@ async def delete_user_from_id(user_id:int): data = { "user_id" : user_id } - try: - await cur.execute(query, data) + await cur.execute(query, data) await cnx.commit() return @@ -225,8 +224,7 @@ async def delete_blog_from_id(blog_id:int): data = { "blog_id" : blog_id } - try: - await cur.execute(query, data) + await cur.execute(query, data) await cnx.commit() return