Commit 60d1c82e authored by Matija Obreza's avatar Matija Obreza
Browse files

Use goo.gl shortener

parent 54f7ce68
......@@ -76,6 +76,7 @@ import org.genesys2.server.servlet.model.ErrorResponse;
import org.genesys2.spring.ResourceNotFoundException;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
......@@ -128,6 +129,7 @@ public class ExplorerController extends BaseController implements InitializingBe
private DownloadService downloadService;
@Autowired
@Qualifier("googleURLShortener")
private UrlShortenerService urlShortenerService;
@Autowired
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment