mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Changed ShortUrlMeta so that it expects an ApiKey instance instead of the key as string
This commit is contained in:
@@ -59,7 +59,7 @@ class ShortUrl extends AbstractEntity
|
||||
$this->shortCodeLength = $meta->getShortCodeLength();
|
||||
$this->shortCode = $meta->getCustomSlug() ?? generateRandomShortCode($this->shortCodeLength);
|
||||
$this->domain = $relationResolver->resolveDomain($meta->getDomain());
|
||||
$this->authorApiKey = $relationResolver->resolveApiKey($meta->getApiKey());
|
||||
$this->authorApiKey = $meta->getApiKey();
|
||||
}
|
||||
|
||||
public static function fromImport(
|
||||
|
||||
Reference in New Issue
Block a user