mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 01:03:13 +08:00
Updated ImportedLinksProcessor to support importing visits if provided
This commit is contained in:
@@ -71,7 +71,7 @@ class LocateVisit
|
||||
try {
|
||||
$location = $isLocatable ? $this->ipLocationResolver->resolveIpLocation($addr) : Location::emptyInstance();
|
||||
|
||||
$visit->locate(new VisitLocation($location));
|
||||
$visit->locate(VisitLocation::fromGeolocation($location));
|
||||
$this->em->flush();
|
||||
} catch (WrongIpException $e) {
|
||||
$this->logger->warning(
|
||||
|
||||
Reference in New Issue
Block a user