1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 07:38:36 -06:00

chg: Reply when shortlink cannot be added

This commit is contained in:
Sayantan Santra 2024-05-06 16:49:01 -05:00
parent 75912e8f9d
commit b1c4142296
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -69,7 +69,10 @@ pub fn add_link(req: String, db: &Connection) -> (bool, String) {
chunks.shortlink,
)
} else {
(false, String::from("shortUrl not valid or already in use"))
(
false,
String::from("Short URL not valid or already in use!"),
)
}
}