redirect filter data to doctors page from home page just with one key && add picture url to doctors page && add conditional to appo page and change data in server
This commit is contained in:
@@ -37,11 +37,15 @@ export const request = {
|
||||
getUserProfile: (uuid) => api.get(`/api/v1/user-profile/${uuid}`),
|
||||
postUserProfile: (data) => api.post("api/v1/user-profile", data),
|
||||
patchUserProfile: (data, uuid, token) =>
|
||||
api.patch(`api/v1/user-profile/${uuid}`, data, {
|
||||
headers: {
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
}),
|
||||
api.patch(
|
||||
`api/v1/user-profile/${uuid}`,
|
||||
data,
|
||||
token && {
|
||||
headers: {
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
}
|
||||
),
|
||||
getUserInfo: (headers) => api.get("oauth/userinfo", headers),
|
||||
getInsuranceType: () =>
|
||||
api.get("api/v1/categorys/insurance_type", removeTokenHead),
|
||||
|
||||
Reference in New Issue
Block a user