mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-12 01:54:41 +08:00
Updated VisitsTracker so that the track method expects a Request object to be provided
This commit is contained in:
@@ -85,7 +85,7 @@ class RedirectAction implements MiddlewareInterface
|
||||
}
|
||||
|
||||
// Track visit to this short code
|
||||
$this->visitTracker->track($shortCode);
|
||||
$this->visitTracker->track($shortCode, $request);
|
||||
|
||||
// Return a redirect response to the long URL.
|
||||
// Use a temporary redirect to make sure browsers always hit the server for analytics purposes
|
||||
|
||||
Reference in New Issue
Block a user