refactor: implement blog fetching and pagination in BlogsPage component
This commit is contained in:
@@ -97,4 +97,11 @@ export const request = {
|
||||
}),
|
||||
getDoctorAddress: (location_id) =>
|
||||
api.get(`api/v1/clinic-pro/doctor-address/${location_id}`, removeTokenHead),
|
||||
getBlogs: (params) =>
|
||||
api.get("api/v1/blogs", {
|
||||
params,
|
||||
headers: {
|
||||
Authorization: "",
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user