Skip to content

Commit

Permalink
[PR feedback] syntax nit
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Aug 20, 2024
1 parent 76b1010 commit 5e92233
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,7 @@ export const defaultSyntax: Syntax = Object.freeze({
parse: (query: string, options: ParseOptions = {}) => {
const dateFormat = options.dateFormat || defaultDateFormat;
const parseDate = dateValueParser(dateFormat);
const schema = options.schema || {};
const recognizedFields = schema.recognizedFields;
const { recognizedFields, ...schema } = options.schema || {};
const clauses = parser.parse(query, {
AST,
Exp,
Expand Down

0 comments on commit 5e92233

Please sign in to comment.