Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
chore(core): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Jun 14, 2023
1 parent 73c4a9d commit d6f9cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheetah.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export class cheetah<
query[key] = true
else if (value === 'false')
query[key] = false
else if (value.indexOf(',') < 0)
else if (value.indexOf(',') > -1)
query[key] = value.split(',')
else if (!isNaN((value as unknown) as number) && !isNaN(parseFloat(value)))
query[key] = parseInt(value)
Expand Down

0 comments on commit d6f9cae

Please sign in to comment.