feat: Ability to remove user profile picture (#3156)

Fixes #3107
This commit is contained in:
Santhosh C 2021-11-27 00:56:07 +05:30 committed by GitHub
parent add004a56e
commit b326da7d94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 84 additions and 3 deletions

View file

@ -36,6 +36,10 @@ const endPoints = {
},
params: { omniauth_token: '' },
},
deleteAvatar: {
url: '/api/v1/profile/avatar',
},
};
export default page => {