From 68fbb0459c1a9e53b9b24c80d50f46f94e30d6c7 Mon Sep 17 00:00:00 2001 From: Ashesh <3626859+Ashesh3@users.noreply.github.com> Date: Wed, 13 Dec 2023 19:48:08 +0530 Subject: [PATCH] Update API path for asset service records (#6826) * Update API path for asset service records * Update resource API path to include trailing slash --- src/Redux/api.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Redux/api.tsx b/src/Redux/api.tsx index 31284d60ecf..9d09f7e889f 100644 --- a/src/Redux/api.tsx +++ b/src/Redux/api.tsx @@ -953,7 +953,7 @@ const routes = { TBody: Type>(), }, updateResource: { - path: "/api/v1/resource/{id}", + path: "/api/v1/resource/{id}/", method: "PUT", TRes: Type(), TBody: Type>(), @@ -1055,7 +1055,7 @@ const routes = { method: "GET", }, updateAssetService: { - path: "/api/v1/asset/{asset_external_id}/service_records/{external_id}", + path: "/api/v1/asset/{asset_external_id}/service_records/{external_id}/", method: "PUT", TRes: Type(), TBody: Type(),