Línea 59... |
Línea 59... |
59 |
// profile/my-profiles/extended', [ 'id' => $user_profile_id_encrypted]
|
59 |
// profile/my-profiles/extended', [ 'id' => $user_profile_id_encrypted]
|
60 |
// https://leaderslinked.com/profile/my-profiles/extended/MzU4NDg3ODcg
|
60 |
// https://leaderslinked.com/profile/my-profiles/extended/MzU4NDg3ODcg
|
61 |
setLoading(true);
|
61 |
setLoading(true);
|
62 |
const formData = new FormData();
|
62 |
const formData = new FormData();
|
63 |
Object.entries(data).map(([key, value]) => {
|
63 |
Object.entries(data).map(([key, value]) => {
|
64 |
if (value === 'Privado') {
|
64 |
if (value === 'pr') {
|
65 |
const accessibilityData = new FormData()
|
65 |
const accessibilityData = new FormData()
|
66 |
accessibilityData.append('accessibility', 'aa')
|
66 |
accessibilityData.append('accessibility', 'aa')
|
67 |
axios.post(`/group/my-groups/accessibility/${groupId}`, accessibilityData)
|
67 |
axios.post(`/group/my-groups/accessibility/${groupId}`, accessibilityData)
|
68 |
.then(({ data }) => data.success && setSettedAccesibility(data.data))
|
68 |
.then(({ data }) => data.success && setSettedAccesibility(data.data))
|
69 |
}
|
69 |
}
|