From 9d70432714d59011519510432601dee0650e5e46 Mon Sep 17 00:00:00 2001 From: Maiko Tan Date: Sun, 18 Feb 2024 14:18:43 +0800 Subject: [PATCH] fix format --- src/api.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api.ts b/src/api.ts index c04a7bd..c26019c 100644 --- a/src/api.ts +++ b/src/api.ts @@ -12,7 +12,10 @@ declare module 'koishi' { export class HitokotoApi extends Service { private _apiUrl: string - constructor(ctx: Context, private config: Config) { + constructor( + ctx: Context, + private config: Config, + ) { super(ctx, 'hitokoto', true) this._apiUrl = config.apiUrl ?? 'https://v1.hitokoto.cn/' }