diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fc9f40..c9ca03b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.0.2] - 2020-03-24 ### Fixed -- OperitionId to Psr normalizer class name +- OperitionId to Psr normalizer class name ## [0.0.1] - 2020-03-24 ### Added diff --git a/src/FreeElephants/JsonApiToolkit/Routing/FastRoute/DispatcherFactory.php b/src/FreeElephants/JsonApiToolkit/Routing/FastRoute/DispatcherFactory.php index 04cba0c..b090779 100644 --- a/src/FreeElephants/JsonApiToolkit/Routing/FastRoute/DispatcherFactory.php +++ b/src/FreeElephants/JsonApiToolkit/Routing/FastRoute/DispatcherFactory.php @@ -50,7 +50,7 @@ private function normalizeHttpMethod(string $method): string private function normalizeOperationHandler(Operation $operation): string { - return $operation->operationId; + return $this->operationHandlerNormalizer->normalize($operation->operationId); } } \ No newline at end of file