ming 3 rokov pred
rodič
commit
bbf5a2d748
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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