From 503ac590b3273273ffc1435cb256473425b3bab9 Mon Sep 17 00:00:00 2001 From: Maiko Tan Date: Tue, 5 Mar 2024 21:10:12 +0800 Subject: [PATCH] feat: support koishi v4.17.0 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e484269..e252c8d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,6 +29,6 @@ export function apply(ctx: Context) { } async function getTarot(ctx) { - let result = await ctx.http('get', 'http://api.tangdouz.com/tarot.php') + let result = await ctx.http.get('http://api.tangdouz.com/tarot.php') return result }