From 6270fc497e8a45fd11de80a245538f03c045ee49 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Sun, 1 Oct 2023 22:14:41 +0700 Subject: [PATCH] add to client --- misskaty/helper/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/misskaty/helper/http.py b/misskaty/helper/http.py index aadcd47b..3e998852 100644 --- a/misskaty/helper/http.py +++ b/misskaty/helper/http.py @@ -17,6 +17,7 @@ fetch = httpx.AsyncClient( }, timeout=httpx.Timeout(20), ) +app.fetch = fetch async def get(url: str, *args, **kwargs):