Skip to content

Commit

Permalink
amend handler name
Browse files Browse the repository at this point in the history
  • Loading branch information
MishNajam committed Oct 10, 2023
1 parent 65dab71 commit 498af55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions service-api/app/config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
use Mezzio\Application;
use Mezzio\MiddlewareFactory;
use Psr\Container\ContainerInterface;
use App\Handler\AuthRedirectHandler;
use App\Handler\OneLoginAuthorisationRequestHandler;

/**
* Setup routes with a single request method:
Expand Down Expand Up @@ -135,7 +135,7 @@

$app->patch('/v1/auth', AuthHandler::class, 'user.auth');

$app->get('/v1/auth-one-login', AuthRedirectHandler::class, 'user.auth-one-login');
$app->get('/v1/auth-one-login', OneLoginAuthorisationRequestHandler::class, 'user.auth-one-login');

$app->post('/v1/email-user/{emailTemplate}', NotifyHandler::class, 'lpa.user.notify');
};
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* @codeCoverageIgnore
*/
class AuthRedirectHandler implements RequestHandlerInterface
class OneLoginAuthorisationRequestHandler implements RequestHandlerInterface
{
public function __construct(
private OneLoginAuthorisationRequestService $authorisationRequestService,
Expand Down

0 comments on commit 498af55

Please sign in to comment.