We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cc76ac commit 0ba14f6Copy full SHA for 0ba14f6
app/src/Interfaces/Http/Controller/SettingsAction.php
@@ -23,6 +23,8 @@ public function __invoke(
23
AppVersion $appVersion,
24
ClientSettings $clientSettings,
25
): ResourceInterface {
26
+ $supportedEvents = \explode(',', $clientSettings->supportedEvents);
27
+
28
return new JsonResource([
29
'auth' => [
30
'enabled' => $settings->enabled,
@@ -33,7 +35,7 @@ public function __invoke(
33
35
],
34
36
'version' => $appVersion->version,
37
'client' => [
- 'events' => $clientSettings->supportedEvents,
38
+ 'events' => $supportedEvents,
39
]
40
]);
41
}
0 commit comments