Skip to content

Commit

Permalink
Include regions in input serialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
rok-povsic committed Apr 23, 2018
1 parent 3033c88 commit a2e0fa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ module.exports = {
if (input.geo) {
formatted.data.geo = {geo_point: input.geo};
}
if (input.regions) {
formatted.data.regions = input.regions;
}
if (includeImage !== false) {
formatted.data.image = {
url: input.url,
Expand Down

0 comments on commit a2e0fa9

Please sign in to comment.