diff --git a/packages/client/src/utils/fetch/QueryFetch.js b/packages/client/src/utils/fetch/QueryFetch.js index 6f1418f3bd..f9052886f3 100644 --- a/packages/client/src/utils/fetch/QueryFetch.js +++ b/packages/client/src/utils/fetch/QueryFetch.js @@ -23,7 +23,7 @@ export default class QueryFetch extends DataFetch { const { datasource, limit, paginate } = this.options const { supportsPagination } = get(this.featureStore) const { cursor, definition } = get(this.store) - const { type } = definition.fields.pagination + const type = definition?.fields?.pagination?.type // Set the default query params let parameters = cloneDeep(datasource?.queryParams || {})