Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release #228

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(ci): fake a change
Gerald Baulig committed Nov 11, 2024
commit ef089be550a5897dfdb3b18f18d92dbcfd03fe21
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ const insertFilterFieldOpValue = (filter, object, key) => {
} else if (filter.type === 'ARRAY' || filter.type === 4) {
try {
value = JSON.parse(filter.value);
} catch (err) {
} catch (err: any) {
// to handle JSON string parse error
if (err.message.indexOf('Unexpected token') > -1) {
value = JSON.parse(JSON.stringify(filter.value));