Skip to content

Commit

Permalink
πŸ› fix(rule): backlink validate rule format
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Jul 30, 2024
1 parent 757b28f commit 73e9ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class Backlinks extends MatchRule {
}

validateInput(): boolean {
return matchIDFormat(this.id) !== null && ['', 'fb2p', 'b2doc'].includes(this.process);
return matchIDFormat(this.id) && ['', 'fb2p', 'b2doc'].includes(this.process);
}

async fetch() {
Expand Down

0 comments on commit 73e9ae2

Please sign in to comment.