refactor: remove unnecessary console logs in asset management and thumbnail fetching

This commit is contained in:
2025-08-25 18:16:02 +05:30
parent 358ce22767
commit 6026c3b82b
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_MARKETPLACE_URL}`;
export const getAssetThumbnail = async (assetId: String) => {
console.log('assetId: ', assetId);
try {
const response = await fetch(
`${url_Backend_dwinzo}/api/v2/getAssetThumbnail/${assetId}`,
@@ -24,10 +24,10 @@ export const getAssetThumbnail = async (assetId: String) => {
throw new Error("Failed to fetch assets");
}
// console.log('response: ', response);
//
return await response.json();
} catch (error: any) {
echo.error("Failed to get asset image");
console.log(error.message);
}
};