mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Can update comment content
This commit is contained in:
@ -49,7 +49,7 @@ pub fn check_url(url: &str) -> bool {
|
||||
/// assert_eq!(check_string_before_insert("Hello world"), true);
|
||||
/// ```
|
||||
pub fn check_string_before_insert(s: &str) -> bool {
|
||||
s.trim().len() > 3
|
||||
s.trim().len() > 2
|
||||
}
|
||||
|
||||
/// Check the validity of a YouTube ID
|
||||
|
Reference in New Issue
Block a user