Skip to content
Snippets Groups Projects
Commit 314c9d6c authored by Steve Reis's avatar Steve Reis
Browse files

Refactor missing metadata

parent e192ad8b
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ export const transientToTable = jsonata(`
$.single.*@$p#$i.{
'groupBy' : 'single',
'name': $keys(%)[$i],
'metadatas': $append("", $keys(*)).{
'headers': $append("", $keys(*)).{
'name': $,
'type': 'string'
},
......
......@@ -11,7 +11,7 @@ export const ResultUnion = createUnionType({
name: 'ResultUnion',
types: () => [TableResult, DummyResult],
resolveType(value) {
if (value.metadatas) {
if (value.headers) {
return TableResult;
}
if (value.listMax) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment