delete method에서 HTTPS 409 제거 수정

main
jaehwang 2025-11-07 13:56:58 +09:00
parent 347e567b95
commit b273cb5f49
1 changed files with 2 additions and 4 deletions

View File

@ -125,8 +125,7 @@ async def delete_user_from_id(user_id:int):
data = { data = {
"user_id" : user_id "user_id" : user_id
} }
try: await cur.execute(query, data)
await cur.execute(query, data)
await cnx.commit() await cnx.commit()
return return
@ -225,8 +224,7 @@ async def delete_blog_from_id(blog_id:int):
data = { data = {
"blog_id" : blog_id "blog_id" : blog_id
} }
try: await cur.execute(query, data)
await cur.execute(query, data)
await cnx.commit() await cnx.commit()
return return