Merge branch 'develop' into feat/ui-lib

This commit is contained in:
Muhsin Keloth
2025-06-26 11:07:34 +05:30
committed by GitHub
783 changed files with 12026 additions and 2063 deletions
@@ -138,6 +138,16 @@ export const actions = {
}
},
updatePassword: async ({ commit }, params) => {
// eslint-disable-next-line no-useless-catch
try {
const response = await authAPI.profilePasswordUpdate(params);
commit(types.SET_CURRENT_USER, response.data);
} catch (error) {
throw error;
}
},
deleteAvatar: async ({ commit }) => {
try {
const response = await authAPI.deleteAvatar();