mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
ignore field case
This commit is contained in:
parent
55cc5f5769
commit
7622d8a139
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ export const buildQuery = (
|
|||
if (field.type === 'ImplicitField') {
|
||||
return serializeImplicitField(expression)
|
||||
} else {
|
||||
switch (field.name) {
|
||||
switch (field.name.toLowerCase()) {
|
||||
case 'in': {
|
||||
if (expression.type !== 'LiteralExpression') {
|
||||
throw new Error('Expected a literal expression.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue