Explorar o código

update return_code

ming %!s(int64=4) %!d(string=hai) anos
pai
achega
bbf5a2d748
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -101,7 +101,7 @@ async def create_req_detail(req:deco_request_detail):
         ,'h_class':req.h_class,'type':req.type,'budget':req.budget,'size':req.size,'bed_num':req.bed_num
         ,'liv_num':req.liv_num,'bath_num':req.bath_num,'style':req.style,'prefer_date':req.prefer_date,'time_stamp':req.time_stamp,'gender':req.gender})
         req.id = pk
-        return req
+        return return_code
     else :
         return return_code