Skip to content

Commit

Permalink
enhancement(contract): fetch assets with allowed typenames for contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
rittikdasgupta committed Sep 27, 2024
1 parent 339e206 commit 95a46e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions adapters/api/get-contract-asset.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ export default async function getContractAsset({
term: {
qualifiedName: assetQualifiedName
}
},
{
terms: {
"__typeName.keyword": [
"Table",
"MaterialisedView",
"View"
]
}
}
]
}
Expand Down

0 comments on commit 95a46e1

Please sign in to comment.