google analytics fix

This commit is contained in:
Čarodej
2022-06-27 11:07:52 +02:00
parent a26684df79
commit 178a8606b9
3 changed files with 3 additions and 2 deletions
@@ -200,6 +200,7 @@ class GetConfigAction
'allowHomepage' => intval($settings->allow_homepage ?? 1),
'teamsDefaultMembers' => intval($settings->default_max_team_member ?? 10),
'legal' => $pages ? json_encode($pages) : 'undefined',
'google_analytics' => optional($settings)->google_analytics ?? null,
];
}
}