diff options
| -rw-r--r-- | server/src/database.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/database.rs b/server/src/database.rs index 62225c0..c7fd905 100644 --- a/server/src/database.rs +++ b/server/src/database.rs @@ -68,6 +68,8 @@ pub fn add_link_to_database_safely( } None => { // No link with the same hash exists, put it in the database + info!("Shortened '{}' with hash '{}'.", user_url, hash); + add_link_to_database( ShortenedLink { hash: hash.clone(), |
