Skip to content

Commit

Permalink
Update API paths
Browse files Browse the repository at this point in the history
  • Loading branch information
konavivekramakrishna committed Jan 30, 2024
1 parent 65a56c7 commit d1ae751
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Redux/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const routes = {
},

updateUser: {
path: "/api/v1/users/",
path: "/api/v1/users",
method: "PUT",
},

Expand Down Expand Up @@ -593,7 +593,7 @@ const routes = {
},

updateDoctor: {
path: "/api/v1/facility/{facilityId}/hospital_doctor/",
path: "/api/v1/facility/{facilityId}/hospital_doctor",
method: "PUT",
},

Expand Down Expand Up @@ -1032,7 +1032,7 @@ const routes = {
TBody: Type<Partial<IResource>>(),
},
deleteResourceRecord: {
path: "/api/v1/resource/{id}/",
path: "/api/v1/resource/{id}",
method: "DELETE",
TRes: Type<{
detail?: string;
Expand Down

0 comments on commit d1ae751

Please sign in to comment.