chore: Remove message_signature_enabled from users (#3982)
This commit is contained in:
parent
351a3dc372
commit
2591a04c0b
10 changed files with 67 additions and 81 deletions
|
@ -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);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue