Skip to content

Commit

Permalink
Rename Method in PathPreProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Lutz committed Dec 3, 2024
1 parent a54d5e9 commit cac0981
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function process(FirstSpiritApiRequestTransfer $apiRequestTransfer): Firs
$path = substr($path, strlen(FirstSpiritApiConfig::ROUTE_PREFIX_FIRST_SPIRIT_API_REST));
}

$apiRequestTransfer->setPath($this->urlEncoding($path));
$apiRequestTransfer->setPath($this->urlDecodeComma($path));

return $apiRequestTransfer;
}
Expand All @@ -47,7 +47,7 @@ public function process(FirstSpiritApiRequestTransfer $apiRequestTransfer): Firs
*
* @return string
*/
private function urlEncoding(string $path): string
private function urlDecodeComma(string $path): string
{
return str_replace('%2C', ',', $path);
}
Expand Down

0 comments on commit cac0981

Please sign in to comment.