Skip to content

Commit

Permalink
DP-303 Case sensitivity issue with scripting
Browse files Browse the repository at this point in the history
- Save event script without lowering
  • Loading branch information
yaroslavmo committed May 20, 2021
1 parent daabdab commit 9521127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Events/ApiEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct($path, $request, $response = null, $resource = null)
{
$this->request = $request;
$this->response = $response;
$name = strtolower($path . '.' . $request->getMethod());
$name = $path . '.' . strtolower($request->getMethod());
parent::__construct($name, $resource);
}

Expand Down

0 comments on commit 9521127

Please sign in to comment.