refactor(server): move asset detail endpoint to new controller (#6636)

* refactor(server): move asset by id to new controller

* chore: open api

* refactor: more consolidation

* refactor: asset service
This commit is contained in:
Jason Rasmussen
2024-01-25 12:52:21 -05:00
committed by GitHub
parent 19d4c5e9f7
commit b306cf564e
20 changed files with 541 additions and 174 deletions

View File

@@ -27,7 +27,7 @@
assetId = link.assets[0].id;
}
const { data } = await api.assetApi.getAssetById({ id: assetId });
const { data } = await api.assetApi.getAssetInfo({ id: assetId });
return data;
};