delete method에서 HTTPS 409 제거 수정
This commit is contained in:
1 parent
347e567b95
commit
b273cb5f49
1 file changed
+2
-4
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user