Allowed to provide the domain when creating a short URL

This commit is contained in:
Alejandro Celaya
2019-10-02 20:13:25 +02:00
parent a892f72425
commit f067d0e831
4 changed files with 50 additions and 6 deletions

View File

@@ -36,7 +36,8 @@ class CreateShortUrlAction extends AbstractCreateShortUrlAction
$this->getOptionalDate($postData, 'validUntil'),
$postData['customSlug'] ?? null,
$postData['maxVisits'] ?? null,
$postData['findIfExists'] ?? null
$postData['findIfExists'] ?? null,
$postData['domain'] ?? null
)
);
}