Skip to content

Commit a2e0fa9

Browse files
committed
Include regions in input serialization.
1 parent 3033c88 commit a2e0fa9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ module.exports = {
7272
if (input.geo) {
7373
formatted.data.geo = {geo_point: input.geo};
7474
}
75+
if (input.regions) {
76+
formatted.data.regions = input.regions;
77+
}
7578
if (includeImage !== false) {
7679
formatted.data.image = {
7780
url: input.url,

0 commit comments

Comments
 (0)