|
|
@@ -31,6 +31,7 @@ module.exports = {
|
|
31
|
31
|
society_controller.get_society(public.societies[ii], function (response) {
|
|
32
|
32
|
soc_names.push(response.society.name);
|
|
33
|
33
|
if (soc_names.length === public.societies.length) {
|
|
|
34
|
+ public.societies = soc_names;
|
|
34
|
35
|
public.friends = JSON.parse(result.friends) || [];
|
|
35
|
36
|
public.accepted_events = JSON.parse(result.accepted_events) || [];
|
|
36
|
37
|
public.declined_events = JSON.parse(result.declined_events) || [];
|