From b3ca5bc54bcb15e05257c7b887f2f7a0e403c478 Mon Sep 17 00:00:00 2001 From: Edoardo Sabadelli Date: Tue, 23 Apr 2019 13:16:51 +0200 Subject: [PATCH] fix(api): fetch also dataDimensionType for dimensions (#16) --- src/api/dimensions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/dimensions.js b/src/api/dimensions.js index 16954e341..92f91ccac 100644 --- a/src/api/dimensions.js +++ b/src/api/dimensions.js @@ -39,7 +39,7 @@ const requestWithPaging = ( // Fetch functions export const apiFetchDimensions = (d2, nameProp) => { - const fields = `fields=id,${nameProp}~rename(name),dimensionType` + const fields = `fields=id,${nameProp}~rename(name),dimensionType,dataDimensionType` const order = `order=${nameProp}:asc` const params = `${fields}&${order}`