Skip to content

Commit

Permalink
Update API path for asset service records (#6826)
Browse files Browse the repository at this point in the history
* Update API path for asset service records

* Update resource API path to include trailing slash
  • Loading branch information
Ashesh3 authored Dec 13, 2023
1 parent 20e706f commit 68fbb04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Redux/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ const routes = {
TBody: Type<Partial<IResource>>(),
},
updateResource: {
path: "/api/v1/resource/{id}",
path: "/api/v1/resource/{id}/",
method: "PUT",
TRes: Type<IResource>(),
TBody: Type<Partial<IResource>>(),
Expand Down Expand Up @@ -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<AssetService>(),
TBody: Type<AssetServiceUpdate>(),
Expand Down

0 comments on commit 68fbb04

Please sign in to comment.