@@ -166,4 +166,8 @@ export default {
|
||||
profile: { ...availabilityData },
|
||||
});
|
||||
},
|
||||
|
||||
deleteAvatar() {
|
||||
return axios.delete(endPoints('deleteAvatar').url);
|
||||
},
|
||||
};
|
||||
|
||||
@@ -36,6 +36,10 @@ const endPoints = {
|
||||
},
|
||||
params: { omniauth_token: '' },
|
||||
},
|
||||
|
||||
deleteAvatar: {
|
||||
url: '/api/v1/profile/avatar',
|
||||
},
|
||||
};
|
||||
|
||||
export default page => {
|
||||
|
||||
Reference in New Issue
Block a user