feat: Change availability status from sidebar (#1288)

Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
Dmitriy Shcherbakan
2020-10-02 11:16:12 +05:30
committed by GitHub
co-authored by Pranav Raj S
parent f61b731fb3
commit 127ffda762
38 changed files with 299 additions and 1 deletions
+6
View File
@@ -138,4 +138,10 @@ export default {
}
return axios.put(endPoints('profileUpdate').url, formData);
},
updateAvailability({ availability }) {
return axios.put(endPoints('profileUpdate').url, {
profile: { availability },
});
},
};