Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3719 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3719 Rev 3736
Línea 9... Línea 9...
9
};
9
};
Línea 10... Línea 10...
10
 
10
 
11
export const deleteGroup = async (url) => {
11
export const deleteGroup = async (url) => {
12
  return await api.post(url);
12
  return await api.post(url);
-
 
13
};
-
 
14
 
-
 
15
export const getGroup = async (uuid) => {
-
 
16
  return await api.get(`/group/my-groups/edit/${uuid}`);
-
 
17
};
-
 
18
 
-
 
19
export const saveGroupType = async (uuid, data) => {
-
 
20
  return await api.post(`/group/my-groups/type/${uuid}`, data);
-
 
21
};
-
 
22
 
-
 
23
export const saveGroupIndustry = async (uuid, data) => {
-
 
24
  return await api.post(`/group/my-groups/industry/${uuid}`, data);
-
 
25
};
-
 
26
 
-
 
27
export const saveGroupPrivacy = async (uuid, data) => {
-
 
28
  return await api.post(`/group/my-groups/privacy/${uuid}`, data);
-
 
29
};
-
 
30
 
-
 
31
export const inviteMember = async (url, uuid) => {
-
 
32
  return await api.post(url, { user_uuid: uuid });
-
 
33
};
-
 
34
 
-
 
35
export const getGroupMembers = async (uuid) => {
-
 
36
  return await api.get(`/helpers/group-members/${uuid}`);
-
 
37
};
-
 
38
 
-
 
39
export const approveMember = async (url) => {
-
 
40
  return await api.post(url);
-
 
41
};
-
 
42
 
-
 
43
export const rejectMember = async (url) => {
-
 
44
  return await api.post(url);
-
 
45
};
-
 
46
 
-
 
47
export const cancelInvitation = async (url) => {
-
 
48
  return await api.post(url);
-
 
49
};
-
 
50
 
-
 
51
export const saveGroupOverview = async (uuid, data) => {
-
 
52
  return await api.post(`/group/my-groups/overview/${uuid}`, data);
-
 
53
};
-
 
54
 
-
 
55
export const saveGroupAccessibility = async (uuid, data) => {
-
 
56
  return await api.post(`/group/my-groups/accessibility/${uuid}`, data);
-
 
57
};
-
 
58
 
-
 
59
export const saveGroupWebsite = async (uuid, data) => {
-
 
60
  return await api.post(`/group/my-groups/website/${uuid}`, data);
-
 
61
};
-
 
62
 
-
 
63
export const handleActionLink = async (url) => {
-
 
64
  return await api.post(url);
-
 
65
};
-
 
66
 
-
 
67
export const saveGroupImage = async (uuid, data) => {
-
 
68
  return await api.post(`group/my-groups/image/${uuid}/operation/upload`, data);