From 9646c5321e0fc390525e299967da008750d54bd0 Mon Sep 17 00:00:00 2001 From: RTAkland Date: Thu, 22 Dec 2022 18:26:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E9=87=8D?= =?UTF-8?q?=E5=90=8D=E6=97=A0=E6=B3=95=E6=9F=A5=E8=AF=A2api=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/view.py b/src/api/view.py index 3a43dc5..e23e804 100644 --- a/src/api/view.py +++ b/src/api/view.py @@ -33,7 +33,7 @@ async def query(name: str): return response -@api.get('/query/all') +@api.get('/query/alldata') async def query_all(limit: int = 30): result = await Database().query_all() data = result[:limit]