fix: Add reset password for edit agent screen (#8130)

This commit is contained in:
Pranav Raj S 2023-10-18 01:24:05 +05:30 committed by GitHub
parent eca9ca90f1
commit 6b2ed4fe79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,11 @@ export default {
return axios.delete(endPoints('deleteAvatar').url);
},
resetPassword({ email }) {
const urlData = endPoints('resetPassword');
return axios.post(urlData.url, { email });
},
setActiveAccount({ accountId }) {
const urlData = endPoints('setActiveAccount');
return axios.put(urlData.url, {