fix: error message
This commit is contained in:
parent
8d27f41607
commit
c4514a9b70
|
|
@ -605,7 +605,7 @@ fn check_collab_publish_name(publish_name: &str) -> Result<(), AppError> {
|
||||||
// Check len
|
// Check len
|
||||||
if publish_name.len() > 50 {
|
if publish_name.len() > 50 {
|
||||||
return Err(AppError::InvalidRequest(
|
return Err(AppError::InvalidRequest(
|
||||||
"Document name must be at most 20 characters long".to_string(),
|
"Document name must be at most 50 characters long".to_string(),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue