Copy shortUrl after adding to db
This commit is contained in:
@@ -75,7 +75,7 @@ public class UrlRepository {
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return "";
|
||||
return shortUrl;
|
||||
}
|
||||
|
||||
public void addHit(String shortURL) {
|
||||
|
||||
Reference in New Issue
Block a user