Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk committed Jul 2, 2024
1 parent 4efd863 commit ab53475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-v2/content/en/search/advanced-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const filters = [
}
];

const response = await axios.post(`api/restify/posts/apply-restify-advanced-filters`, filters);
const response = await axios.post(`api/restify/posts/apply-restify-advanced-filters`, { filters });
```


Expand Down Expand Up @@ -475,7 +475,7 @@ const filters = [
}
];

const response = await axios.post(`api/restify/posts/apply-restify-advanced-filters`, filters);
const response = await axios.post(`api/restify/posts/apply-restify-advanced-filters`, {filters});
```

In this payload, besides the standard key and value, we are also sending operator and column. The operator specifies the type of SQL operation, and the column specifies the database column to filter.
Expand Down

0 comments on commit ab53475

Please sign in to comment.