Skip to content

Commit

Permalink
chore: fix parenthesis typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgee committed Nov 25, 2024
1 parent a2466c9 commit b37a4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/src/links/RestAPILink/validateQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const validateDeclarativeFields = (
} else if (Array.isArray(query.params.fields)) {
fields = query.params.fields.map((field) => String(field).trim())
}
if (fields?.find((field) => /(^\*$|^:.+)/.test(field)))) {
if (fields?.find((field) => /(^\*$|^:.+)/.test(field))) {
warn(
'Data queries should not use wildcard or dynamic field groups',
query.params.fields,
Expand Down

0 comments on commit b37a4cb

Please sign in to comment.