From 6613db9e67e1a7c5891d1d2d024de2b0a352653b Mon Sep 17 00:00:00 2001 From: Ashesh <3626859+Ashesh3@users.noreply.github.com> Date: Mon, 15 Apr 2024 23:40:07 +0530 Subject: [PATCH] Fix asset qr scan (#7617) --- src/Components/Assets/AssetsList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Assets/AssetsList.tsx b/src/Components/Assets/AssetsList.tsx index e8042058e9a..9e1469c91a5 100644 --- a/src/Components/Assets/AssetsList.tsx +++ b/src/Components/Assets/AssetsList.tsx @@ -125,7 +125,7 @@ const AssetsList = () => { const checkValidAssetId = async (assetId: string) => { const { data: assetData } = await request(routes.getAsset, { - pathParams: { id: assetId }, + pathParams: { external_id: assetId }, }); try { if (assetData) {