Skip to content

Commit

Permalink
data.domain = window.location.host;
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheppner committed Aug 19, 2024
1 parent 1aea6bf commit d6eb2b5
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions src/actions/tourActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,20 @@ export function loadFilter(data = {}) {

const language = i18next.resolvedLanguage;
return (dispatch, getState) => {
return loadList(
dispatch,
getState,
LOAD_TOUR_FILTER,
LOAD_TOUR_FILTER_DONE,
"tours",
data,
"tours/filter",
"filter",
false,
undefined,
language
);
data.domain = window.location.host;
return loadList(
dispatch,
getState,
LOAD_TOUR_FILTER,
LOAD_TOUR_FILTER_DONE,
"tours",
data,
"tours/filter",
"filter",
false,
undefined,
language
);
};
}

Expand Down

0 comments on commit d6eb2b5

Please sign in to comment.