Skip to content

Commit ab53475

Browse files
committed
fix: docs
1 parent 4efd863 commit ab53475

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs-v2/content/en/search/advanced-filters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const filters = [
101101
}
102102
];
103103

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

107107

@@ -475,7 +475,7 @@ const filters = [
475475
}
476476
];
477477

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

481481
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.

0 commit comments

Comments
 (0)