mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 09:13:11 +08:00
Added feedback to ImportedLinksProcessor
This commit is contained in:
@@ -59,7 +59,6 @@ class ShortUrl extends AbstractEntity
|
||||
|
||||
public static function fromImport(
|
||||
ImportedShlinkUrl $url,
|
||||
string $source,
|
||||
bool $importShortCode,
|
||||
?DomainResolverInterface $domainResolver = null
|
||||
): self {
|
||||
@@ -72,7 +71,7 @@ class ShortUrl extends AbstractEntity
|
||||
}
|
||||
|
||||
$instance = new self($url->longUrl(), ShortUrlMeta::fromRawData($meta), $domainResolver);
|
||||
$instance->importSource = $source;
|
||||
$instance->importSource = $url->source();
|
||||
$instance->dateCreated = Chronos::instance($url->createdAt());
|
||||
|
||||
return $instance;
|
||||
|
||||
Reference in New Issue
Block a user