refactor(nestjs): hook up new endpoints

This commit is contained in:
Ahmed Bouhuolia
2025-05-16 01:41:11 +02:00
parent ecb80b2cf2
commit 4de1ef71ca
23 changed files with 644 additions and 38 deletions

View File

@@ -69,7 +69,7 @@ export function useEstimate(id, props) {
[t.SALE_ESTIMATE, id],
{ method: 'get', url: `sale-estimates/${id}` },
{
select: (res) => res.data.estimate,
select: (res) => res.data,
defaultData: {},
...props,
},