diff --git a/src/lib/drupal/get-resource.tsx b/src/lib/drupal/get-resource.tsx index 92a16254..3e413107 100644 --- a/src/lib/drupal/get-resource.tsx +++ b/src/lib/drupal/get-resource.tsx @@ -86,6 +86,7 @@ export const getResourceByPath = async ( ] const url = buildUrl("/subrequests", {_format: "json"}) + console.log('subrequest', JSON.stringify(payload)); let response = await fetch(url.toString(), { next: options.next, @@ -180,7 +181,6 @@ export const getConfigPageResource = async ( next?: NextFetchRequestConfig } & JsonApiWithLocaleOptions ): Promise => { - options = {next: {revalidate: 604800}, ...options} let response; try {