Updated create shortcode action to accept the custom slug

This commit is contained in:
Alejandro Celaya
2017-10-21 20:09:30 +02:00
parent fd468cd4e9
commit 5f0d281255
3 changed files with 22 additions and 6 deletions

View File

@@ -93,7 +93,6 @@ class UrlShortener implements UrlShortenerInterface
$this->checkUrlExists($url);
$customSlug = $this->processCustomSlug($customSlug);
// Transactionally insert the short url, then generate the short code and finally update the short code
try {
$this->em->beginTransaction();