File tree Expand file tree Collapse file tree 3 files changed +63
-63
lines changed
library/Notifications/Api/V1
test/php/application/controllers Expand file tree Collapse file tree 3 files changed +63
-63
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ public function indexAction(): never
4141 }
4242
4343 $ params = $ request ->getParams ();
44- $ version = Str::camel ($ params ['version ' ]);
45- $ endpoint = Str::camel ($ params ['endpoint ' ]);
44+ $ version = ucfirst ( Str::camel ($ params ['version ' ]) );
45+ $ endpoint = ucfirst ( Str::camel ($ params ['endpoint ' ]) );
4646 $ identifier = $ params ['identifier ' ] ?? null ;
4747
4848 $ module = (($ moduleName = $ request ->getModuleName ()) !== null )
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class ContactGroups extends ApiV1
6060{
6161 public function getEndpoint (): string
6262 {
63- return 'contactgroups ' ;
63+ return 'contact-groups ' ;
6464 }
6565
6666 /**
You can’t perform that action at this time.
0 commit comments