From 62d65c214946b5d215798a15739a2632ffee7aa6 Mon Sep 17 00:00:00 2001 From: TurtlBbx Date: Mon, 30 Jan 2023 10:22:02 +0100 Subject: [PATCH] fix: LDP-1851: Fix fetching of homepage from the backend. (#104) --- src/runtime/composables/useDrupalCe.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/runtime/composables/useDrupalCe.ts b/src/runtime/composables/useDrupalCe.ts index b724b34..94f0b44 100644 --- a/src/runtime/composables/useDrupalCe.ts +++ b/src/runtime/composables/useDrupalCe.ts @@ -11,7 +11,6 @@ export const useDrupalCeFetchPage = async (path: string, useFetchOptions = {}) = const pageState = useState(`page-${path}`, () => {}) useFetchOptions.query = useFetchOptions.query ?? {} - useFetchOptions.query._content_format = useFetchOptions.query._content_format ?? 'json' useFetchOptions.key = `page-${path}` useFetchOptions.baseURL = baseURL