Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan committed Mar 12, 2024
1 parent 72fa1f2 commit 2d44cd3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ export class HitokotoApi extends Service {
private _apiUrl: string
config: Config

constructor(
ctx: Context,
config: Config,
) {
constructor(ctx: Context, config: Config) {
super(ctx, 'hitokoto', true)
this.config = config
this._apiUrl = this.config.sentences ? '' : this.config.apiUrl ?? 'https://v1.hitokoto.cn/'
Expand Down

0 comments on commit 2d44cd3

Please sign in to comment.