Skip to content

Commit

Permalink
fix(ci): fake a change
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Nov 11, 2024
1 parent dd882ac commit ef089be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit ef089be

Please sign in to comment.