Feature/exclude manual data source from encoding (#4307)
* Exclude MANUAL data source from encoding
This commit is contained in:
parent
b616274380
commit
c7f39d3884
@ -33,9 +33,12 @@ export class TransformDataSourceInResponseInterceptor<T>
|
|||||||
attribute: 'dataSource',
|
attribute: 'dataSource',
|
||||||
valueMap: Object.keys(DataSource).reduce(
|
valueMap: Object.keys(DataSource).reduce(
|
||||||
(valueMap, dataSource) => {
|
(valueMap, dataSource) => {
|
||||||
valueMap[dataSource] = encodeDataSource(
|
if (!['MANUAL'].includes(dataSource)) {
|
||||||
DataSource[dataSource]
|
valueMap[dataSource] = encodeDataSource(
|
||||||
);
|
DataSource[dataSource]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return valueMap;
|
return valueMap;
|
||||||
},
|
},
|
||||||
{}
|
{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user