Update
This commit is contained in:
parent
712f15e724
commit
82aff1c8bf
|
@ -58,10 +58,10 @@ async def add_dating(dating: SDatingAdd = Body()) -> JSONResponse:
|
|||
return response
|
||||
|
||||
|
||||
@router.get("/get")
|
||||
async def get_datings() -> list[SDating]:
|
||||
datings = await DatingRepository.get_datings()
|
||||
return datings
|
||||
# @router.get("/get")
|
||||
# async def get_datings() -> list[SDating]:
|
||||
# datings = await DatingRepository.get_datings()
|
||||
# return datings
|
||||
|
||||
|
||||
# async def get_datings() -> JSONResponse:
|
||||
|
|
Loading…
Reference in New Issue