chore: Remove message_signature_enabled from users (#3982)

This commit is contained in:
Pranav Raj S 2022-02-15 12:10:53 +05:30 committed by GitHub
parent 351a3dc372
commit 2591a04c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 67 additions and 81 deletions

View file

@ -138,6 +138,7 @@ export default {
password,
password_confirmation,
displayName,
avatar,
...profileAttributes
}) {
const formData = new FormData();
@ -152,6 +153,9 @@ export default {
formData.append('profile[password]', password);
formData.append('profile[password_confirmation]', password_confirmation);
}
if (avatar) {
formData.append('profile[avatar]', avatar);
}
return axios.put(endPoints('profileUpdate').url, formData);
},