Created new middleware that redirects to short URLs with an extra path

This commit is contained in:
Alejandro Celaya
2021-07-15 16:54:54 +02:00
parent 265e8cdeaf
commit 32f7b4fbf6
5 changed files with 86 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ abstract class AbstractTrackingAction implements MiddlewareInterface, RequestMet
}
return $this->createSuccessResp($shortUrl, $request);
} catch (ShortUrlNotFoundException $e) {
} catch (ShortUrlNotFoundException) {
return $this->createErrorResp($request, $handler);
}
}